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