mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
increase timeout threshold for login
This commit is contained in:
parent
e243cf4435
commit
2f2b19ffec
@ -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);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user