[ACS-8733] exclude flaky test need fix (#10172)

This commit is contained in:
Akash Rathod 2024-09-04 14:14:39 +02:00 committed by GitHub
parent 564b3f4931
commit 4821c19760
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View File

@ -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"
}

View File

@ -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}"]`);
@ -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() {