Skip to content

Commit

Permalink
[ACS-8733] exclude flaky test need fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akashrathod28 committed Sep 4, 2024
1 parent 564b3f4 commit d2f7354
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion e2e/protractor.excludes.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@
"C282016": "https://hyland.atlassian.net/browse/ACS-7960",
"C282017": "https://hyland.atlassian.net/browse/ACS-7960",
"C282010": "https://hyland.atlassian.net/browse/ACS-7960",
"C261046": "https://hyland.atlassian.net/browse/ACS-7960"
"C261046": "https://hyland.atlassian.net/browse/ACS-7960",
"C286508": "https://hyland.atlassian.net/browse/ACS-8733"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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="true"]');
startProcessButtonDisabled = $('button[data-automation-id="btn-start"][disabled]');
noProcess = $('.adf-empty-content__title');
processDefinition = $('input[id="processDefinitionName"]');
processDefinitionOptionsPanel = $(`div[class*="${materialLocators.Autocomplete.panel.root}"]`);
Expand Down Expand Up @@ -131,8 +131,8 @@ export class StartProcessPage {
}

async isStartProcessButtonEnabled() {
await BrowserVisibility.waitUntilElementIsVisible(this.startProcessButtonDisabled);
return this.startProcessButton.isDisplayed();
await BrowserVisibility.waitUntilElementIsNotVisible(this.startProcessButtonDisabled);
return this.startProcessButton.isEnabled();
}

async checkStartProcessButtonIsDisabled() {
Expand Down

0 comments on commit d2f7354

Please sign in to comment.