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',
|
||||
chromeOptions: {
|
||||
args: [
|
||||
'window-size=1280,800'
|
||||
'window-size=1024,768'
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -82,9 +82,11 @@ module.exports = {
|
||||
'copy workflow template': client => {
|
||||
const templates = client.page.templates();
|
||||
|
||||
client.useCss();
|
||||
client.login();
|
||||
client.waitForAngular();
|
||||
client
|
||||
.useCss()
|
||||
.resizeWindow(1200, 800)
|
||||
.login()
|
||||
.waitForAngular();
|
||||
|
||||
templates.load();
|
||||
templates.waitForElementVisible('div.spinny');
|
||||
|
@ -64,6 +64,7 @@ module.exports = {
|
||||
client
|
||||
.login()
|
||||
.waitForAngular()
|
||||
.resizeWindow(1200, 1000)
|
||||
.navigateTo(`${AWX_E2E_URL}/#/templates`, false)
|
||||
.useXpath()
|
||||
.waitForElementVisible(workflowSearchBar)
|
||||
|
@ -73,9 +73,11 @@ module.exports = {
|
||||
urls.jobsSchedules = `${pages.jobs.url()}/schedules`;
|
||||
urls.inventoryHosts = `${pages.inventories.url()}/inventory/${data.host.summary_fields.inventory.id}/hosts`;
|
||||
|
||||
client.useCss();
|
||||
client.login();
|
||||
client.waitForAngular();
|
||||
client
|
||||
.useCss()
|
||||
.login()
|
||||
.waitForAngular()
|
||||
.resizeWindow(1200, 800);
|
||||
|
||||
done();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user