mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
ACS-8733 e2e locator fix (#10170)
This commit is contained in:
@@ -31,7 +31,7 @@ export class StartProcessPage {
|
||||
cancelProcessButton = $('#cancel_process');
|
||||
formStartProcessButton = $('button[data-automation-id="adf-form-start process"]');
|
||||
startProcessButton = $('button[data-automation-id="btn-start"]');
|
||||
startProcessButtonDisabled = $('button[data-automation-id="btn-start"][disabled]');
|
||||
startProcessButtonDisabled = $('button[data-automation-id="btn-start"][disabled="true"]');
|
||||
noProcess = $('.adf-empty-content__title');
|
||||
processDefinition = $('input[id="processDefinitionName"]');
|
||||
processDefinitionOptionsPanel = $(`div[class*="${materialLocators.Autocomplete.panel.root}"]`);
|
||||
@@ -131,8 +131,8 @@ export class StartProcessPage {
|
||||
}
|
||||
|
||||
async isStartProcessButtonEnabled() {
|
||||
await BrowserVisibility.waitUntilElementIsNotVisible(this.startProcessButtonDisabled);
|
||||
return this.startProcessButton.isEnabled();
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.startProcessButtonDisabled);
|
||||
return this.startProcessButton.isDisplayed();
|
||||
}
|
||||
|
||||
async checkStartProcessButtonIsDisabled() {
|
||||
|
Reference in New Issue
Block a user