mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[ACS-8733] exclude flaky test need fix (#10172)
This commit is contained in:
parent
564b3f4931
commit
4821c19760
@ -43,5 +43,6 @@
|
|||||||
"C282016": "https://hyland.atlassian.net/browse/ACS-7960",
|
"C282016": "https://hyland.atlassian.net/browse/ACS-7960",
|
||||||
"C282017": "https://hyland.atlassian.net/browse/ACS-7960",
|
"C282017": "https://hyland.atlassian.net/browse/ACS-7960",
|
||||||
"C282010": "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"
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ export class StartProcessPage {
|
|||||||
cancelProcessButton = $('#cancel_process');
|
cancelProcessButton = $('#cancel_process');
|
||||||
formStartProcessButton = $('button[data-automation-id="adf-form-start process"]');
|
formStartProcessButton = $('button[data-automation-id="adf-form-start process"]');
|
||||||
startProcessButton = $('button[data-automation-id="btn-start"]');
|
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');
|
noProcess = $('.adf-empty-content__title');
|
||||||
processDefinition = $('input[id="processDefinitionName"]');
|
processDefinition = $('input[id="processDefinitionName"]');
|
||||||
processDefinitionOptionsPanel = $(`div[class*="${materialLocators.Autocomplete.panel.root}"]`);
|
processDefinitionOptionsPanel = $(`div[class*="${materialLocators.Autocomplete.panel.root}"]`);
|
||||||
@ -131,8 +131,8 @@ export class StartProcessPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async isStartProcessButtonEnabled() {
|
async isStartProcessButtonEnabled() {
|
||||||
await BrowserVisibility.waitUntilElementIsVisible(this.startProcessButtonDisabled);
|
await BrowserVisibility.waitUntilElementIsNotVisible(this.startProcessButtonDisabled);
|
||||||
return this.startProcessButton.isDisplayed();
|
return this.startProcessButton.isEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
async checkStartProcessButtonIsDisabled() {
|
async checkStartProcessButtonIsDisabled() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user