mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 02:47:36 -02:30
wait for job to finish before ending tests
This commit is contained in:
@@ -92,6 +92,10 @@ module.exports = {
|
|||||||
templates.waitForElementVisible('div.spinny');
|
templates.waitForElementVisible('div.spinny');
|
||||||
templates.waitForElementNotVisible('div.spinny');
|
templates.waitForElementNotVisible('div.spinny');
|
||||||
client.waitForElementVisible('at-job-details', 10000);
|
client.waitForElementVisible('at-job-details', 10000);
|
||||||
|
|
||||||
|
client.useXpath();
|
||||||
|
client.waitForElementVisible('.//span[normalize-space(text())=\'"msg": "Hello World!"\']', 60000);
|
||||||
|
client.useCss();
|
||||||
},
|
},
|
||||||
'expected jt launch with prompts but no changes to navigate to job details': client => {
|
'expected jt launch with prompts but no changes to navigate to job details': client => {
|
||||||
const templates = client.page.templates();
|
const templates = client.page.templates();
|
||||||
@@ -145,6 +149,11 @@ module.exports = {
|
|||||||
templates.waitForElementVisible('div.spinny');
|
templates.waitForElementVisible('div.spinny');
|
||||||
templates.waitForElementNotVisible('div.spinny');
|
templates.waitForElementNotVisible('div.spinny');
|
||||||
client.waitForElementVisible('at-job-details', 10000);
|
client.waitForElementVisible('at-job-details', 10000);
|
||||||
|
|
||||||
|
client.useXpath();
|
||||||
|
client.waitForElementVisible('.//span[normalize-space(text())=\'"msg": "Hello World!"\']', 60000);
|
||||||
|
client.useCss();
|
||||||
|
|
||||||
client.end();
|
client.end();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user