mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
Fixes e2e test failure checking copy wf warning title
This commit is contained in:
parent
d1f37ad1af
commit
7f6ab4f60b
@ -187,7 +187,7 @@ function ListTemplatesController(
|
||||
return strings.get('list.ADD_DD_WF_LABEL');;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
function refreshTemplates() {
|
||||
Wait('start');
|
||||
let path = GetBasePath('unified_job_templates');
|
||||
@ -270,7 +270,7 @@ function ListTemplatesController(
|
||||
actionText: strings.get('COPY'),
|
||||
body: buildWorkflowCopyPromptHTML(model.get('related.copy')),
|
||||
class: 'Modal-primaryButton',
|
||||
hdr: strings.get('actions.COPY_WORKFLOW'),
|
||||
hdr: strings.get('listActions.COPY', template.name),
|
||||
});
|
||||
} else {
|
||||
Alert(strings.get('error.COPY'), strings.get('alert.NO_PERMISSION'));
|
||||
|
@ -201,8 +201,8 @@ module.exports = {
|
||||
templates.expect.element(promptActionButton).enabled;
|
||||
templates.expect.element(promptCloseButton).enabled;
|
||||
|
||||
templates.expect.element(promptHeader).text.contain('COPY WORKFLOW');
|
||||
templates.expect.element(promptWarning).text.contain('Unified Job Templates');
|
||||
templates.expect.element(promptHeader).text.contain('COPY');
|
||||
templates.expect.element(promptHeader).text.contain(`${data.workflow.name.toUpperCase()}`);
|
||||
templates.expect.element(promptWarning).text.contain(`${data.source.name}`);
|
||||
|
||||
templates.click(promptCancelButton);
|
||||
|
Loading…
Reference in New Issue
Block a user