mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 20:00:43 -03:30
update selector used for workflow button
This commit is contained in:
parent
ccd8a48617
commit
e64d05c324
@ -95,7 +95,8 @@ module.exports = {
|
||||
wfjtDetails
|
||||
},
|
||||
elements: {
|
||||
title: 'div[class^="Form-title"]'
|
||||
title: 'div[class^="Form-title"]',
|
||||
visualizerButton: '#workflow_job_template_workflow_visualizer_btn',
|
||||
}
|
||||
},
|
||||
editWorkflowJobTemplate: {
|
||||
@ -105,7 +106,8 @@ module.exports = {
|
||||
permissions
|
||||
},
|
||||
elements: {
|
||||
title: 'div[class^="Form-title"]'
|
||||
title: 'div[class^="Form-title"]',
|
||||
visualizerButton: '#workflow_job_template_workflow_visualizer_btn',
|
||||
}
|
||||
},
|
||||
list: {
|
||||
|
||||
@ -102,13 +102,11 @@ module.exports = {
|
||||
|
||||
templates.expect.element('@save').visible;
|
||||
templates.expect.element('@save').enabled;
|
||||
client.pause(1000);
|
||||
|
||||
client
|
||||
.useXpath()
|
||||
.pause(1000)
|
||||
.waitForElementVisible('//*[text()=" Workflow Editor"]')
|
||||
.click('//*[text()=" Workflow Editor"]')
|
||||
.useCss()
|
||||
templates.section.editWorkflowJobTemplate
|
||||
.waitForElementVisible('@visualizerButton')
|
||||
.click('@visualizerButton')
|
||||
.waitForElementVisible('div.spinny')
|
||||
.waitForElementNotVisible('div.spinny')
|
||||
.waitForAngular();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user