mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
Reduces flake on launch job e2e test
This commit is contained in:
@@ -121,30 +121,35 @@ module.exports = {
|
|||||||
templates.expect.element('#prompt_inventory_tab').to.have.attribute('class').which.contains('at-Tab--active');
|
templates.expect.element('#prompt_inventory_tab').to.have.attribute('class').which.contains('at-Tab--active');
|
||||||
templates.expect.element('#prompt_inventory_next').visible;
|
templates.expect.element('#prompt_inventory_next').visible;
|
||||||
templates.expect.element('#prompt_inventory_next').enabled;
|
templates.expect.element('#prompt_inventory_next').enabled;
|
||||||
|
templates.waitForElementNotVisible('div.spinny');
|
||||||
templates.click('#prompt_inventory_next');
|
templates.click('#prompt_inventory_next');
|
||||||
templates.waitForElementVisible('#prompt_credential_step');
|
templates.waitForElementVisible('#prompt_credential_step');
|
||||||
templates.expect.element('#prompt_credential_tab').visible;
|
templates.expect.element('#prompt_credential_tab').visible;
|
||||||
templates.expect.element('#prompt_credential_tab').to.have.attribute('class').which.contains('at-Tab--active');
|
templates.expect.element('#prompt_credential_tab').to.have.attribute('class').which.contains('at-Tab--active');
|
||||||
templates.expect.element('#prompt_credential_next').visible;
|
templates.expect.element('#prompt_credential_next').visible;
|
||||||
templates.expect.element('#prompt_credential_next').enabled;
|
templates.expect.element('#prompt_credential_next').enabled;
|
||||||
|
templates.waitForElementNotVisible('div.spinny');
|
||||||
templates.click('#prompt_credential_next');
|
templates.click('#prompt_credential_next');
|
||||||
templates.waitForElementVisible('#prompt_other_prompts_step');
|
templates.waitForElementVisible('#prompt_other_prompts_step');
|
||||||
templates.expect.element('#prompt_other_prompts_tab').visible;
|
templates.expect.element('#prompt_other_prompts_tab').visible;
|
||||||
templates.expect.element('#prompt_other_prompts_tab').to.have.attribute('class').which.contains('at-Tab--active');
|
templates.expect.element('#prompt_other_prompts_tab').to.have.attribute('class').which.contains('at-Tab--active');
|
||||||
templates.expect.element('#prompt_other_prompts_next').visible;
|
templates.expect.element('#prompt_other_prompts_next').visible;
|
||||||
templates.expect.element('#prompt_other_prompts_next').enabled;
|
templates.expect.element('#prompt_other_prompts_next').enabled;
|
||||||
|
templates.waitForElementNotVisible('div.spinny');
|
||||||
templates.click('#prompt_other_prompts_next');
|
templates.click('#prompt_other_prompts_next');
|
||||||
templates.waitForElementVisible('#prompt_survey_step');
|
templates.waitForElementVisible('#prompt_survey_step');
|
||||||
templates.expect.element('#prompt_survey_tab').visible;
|
templates.expect.element('#prompt_survey_tab').visible;
|
||||||
templates.expect.element('#prompt_survey_tab').to.have.attribute('class').which.contains('at-Tab--active');
|
templates.expect.element('#prompt_survey_tab').to.have.attribute('class').which.contains('at-Tab--active');
|
||||||
templates.expect.element('#prompt_survey_next').visible;
|
templates.expect.element('#prompt_survey_next').visible;
|
||||||
templates.expect.element('#prompt_survey_next').enabled;
|
templates.expect.element('#prompt_survey_next').enabled;
|
||||||
|
templates.waitForElementNotVisible('div.spinny');
|
||||||
templates.click('#prompt_survey_next');
|
templates.click('#prompt_survey_next');
|
||||||
templates.waitForElementVisible('#prompt_preview_step');
|
templates.waitForElementVisible('#prompt_preview_step');
|
||||||
templates.expect.element('#prompt_preview_tab').visible;
|
templates.expect.element('#prompt_preview_tab').visible;
|
||||||
templates.expect.element('#prompt_preview_tab').to.have.attribute('class').which.contains('at-Tab--active');
|
templates.expect.element('#prompt_preview_tab').to.have.attribute('class').which.contains('at-Tab--active');
|
||||||
templates.expect.element('#prompt_finish').visible;
|
templates.expect.element('#prompt_finish').visible;
|
||||||
templates.expect.element('#prompt_finish').enabled;
|
templates.expect.element('#prompt_finish').enabled;
|
||||||
|
templates.waitForElementNotVisible('div.spinny');
|
||||||
templates.click('#prompt_finish');
|
templates.click('#prompt_finish');
|
||||||
templates.waitForElementVisible('div.spinny');
|
templates.waitForElementVisible('div.spinny');
|
||||||
templates.waitForElementNotVisible('div.spinny');
|
templates.waitForElementNotVisible('div.spinny');
|
||||||
|
|||||||
Reference in New Issue
Block a user