mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Merge pull request #3979 from elyezer/resize-window-e2e
e2e resize window on some specific tests Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
commit
724ca9cd57
@ -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…
x
Reference in New Issue
Block a user