From 2f2b19ffecd3c50828c63ebc942021e73bb65de4 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Fri, 22 Jun 2018 13:07:37 -0400 Subject: [PATCH] increase timeout threshold for login --- awx/ui/test/e2e/commands/login.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/awx/ui/test/e2e/commands/login.js b/awx/ui/test/e2e/commands/login.js index 65c9cce1ea..5be191570d 100644 --- a/awx/ui/test/e2e/commands/login.js +++ b/awx/ui/test/e2e/commands/login.js @@ -22,12 +22,12 @@ Login.prototype.command = function command (username, password) { loginPage .navigate() .waitForElementVisible('@submit', AWX_E2E_TIMEOUT_LONG) - .waitForElementNotVisible('div.spinny') + .waitForElementNotVisible('div.spinny', AWX_E2E_TIMEOUT_LONG) .setValue('@username', username) .setValue('@password', password) .click('@submit') - .waitForElementVisible('div.spinny') - .waitForElementNotVisible('div.spinny'); + .waitForElementVisible('div.spinny', AWX_E2E_TIMEOUT_LONG) + .waitForElementNotVisible('div.spinny', AWX_E2E_TIMEOUT_LONG); // temporary hack while login issue is resolved this.api.elements('css selector', '.LoginModal-alert', result => { @@ -39,8 +39,8 @@ Login.prototype.command = function command (username, password) { loginPage.setValue('@username', username); loginPage.setValue('@password', password); loginPage.click('@submit'); - loginPage.waitForElementVisible('div.spinny'); - loginPage.waitForElementNotVisible('div.spinny'); + loginPage.waitForElementVisible('div.spinny', AWX_E2E_TIMEOUT_LONG); + loginPage.waitForElementNotVisible('div.spinny', AWX_E2E_TIMEOUT_LONG); } }); });