mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
e2e resize window on some specific tests
This commit is contained in:
parent
d8a80f9f3e
commit
39fb0d1679
@ -31,7 +31,7 @@ module.exports = {
|
|||||||
browserName: 'chrome',
|
browserName: 'chrome',
|
||||||
chromeOptions: {
|
chromeOptions: {
|
||||||
args: [
|
args: [
|
||||||
'window-size=1280,800'
|
'window-size=1024,768'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -82,9 +82,11 @@ module.exports = {
|
|||||||
'copy workflow template': client => {
|
'copy workflow template': client => {
|
||||||
const templates = client.page.templates();
|
const templates = client.page.templates();
|
||||||
|
|
||||||
client.useCss();
|
client
|
||||||
client.login();
|
.useCss()
|
||||||
client.waitForAngular();
|
.resizeWindow(1200, 800)
|
||||||
|
.login()
|
||||||
|
.waitForAngular();
|
||||||
|
|
||||||
templates.load();
|
templates.load();
|
||||||
templates.waitForElementVisible('div.spinny');
|
templates.waitForElementVisible('div.spinny');
|
||||||
|
@ -64,6 +64,7 @@ module.exports = {
|
|||||||
client
|
client
|
||||||
.login()
|
.login()
|
||||||
.waitForAngular()
|
.waitForAngular()
|
||||||
|
.resizeWindow(1200, 1000)
|
||||||
.navigateTo(`${AWX_E2E_URL}/#/templates`, false)
|
.navigateTo(`${AWX_E2E_URL}/#/templates`, false)
|
||||||
.useXpath()
|
.useXpath()
|
||||||
.waitForElementVisible(workflowSearchBar)
|
.waitForElementVisible(workflowSearchBar)
|
||||||
|
@ -73,9 +73,11 @@ module.exports = {
|
|||||||
urls.jobsSchedules = `${pages.jobs.url()}/schedules`;
|
urls.jobsSchedules = `${pages.jobs.url()}/schedules`;
|
||||||
urls.inventoryHosts = `${pages.inventories.url()}/inventory/${data.host.summary_fields.inventory.id}/hosts`;
|
urls.inventoryHosts = `${pages.inventories.url()}/inventory/${data.host.summary_fields.inventory.id}/hosts`;
|
||||||
|
|
||||||
client.useCss();
|
client
|
||||||
client.login();
|
.useCss()
|
||||||
client.waitForAngular();
|
.login()
|
||||||
|
.waitForAngular()
|
||||||
|
.resizeWindow(1200, 800);
|
||||||
|
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user