mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
e2e cloud (#4767)
* Change strategy with process cloud e2e and fixes * Change strategy with process cloud e2e and fixes * Fix path and host * improve the config and run the replace for cloud * Use the same name of other scripts * Fix lint * Run the replace in case of cloud * typo * Export variables if needed Fix the check env passing the oauth
This commit is contained in:
committed by
Denys Vuika
parent
446efe4297
commit
abb76d956b
@@ -31,6 +31,7 @@ export class ProcessCloudDemoPage {
|
||||
completedProcesses = element(by.css('span[data-automation-id="completed-processes_filter"]'));
|
||||
activeFilter = element(by.css("mat-list-item[class*='active'] span"));
|
||||
processFilters = element(by.css("mat-expansion-panel[data-automation-id='Process Filters']"));
|
||||
processFiltersList = element(by.css('adf-cloud-process-filters'));
|
||||
|
||||
createButton = element(by.css('button[data-automation-id="create-button"'));
|
||||
newProcessButton = element(by.css('button[data-automation-id="btn-start-process"]'));
|
||||
@@ -67,6 +68,7 @@ export class ProcessCloudDemoPage {
|
||||
}
|
||||
|
||||
getActiveFilterName() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.activeFilter);
|
||||
return BrowserActions.getText(this.activeFilter);
|
||||
}
|
||||
|
||||
@@ -86,6 +88,11 @@ export class ProcessCloudDemoPage {
|
||||
return this;
|
||||
}
|
||||
|
||||
isProcessFiltersListVisible() {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.processFiltersList);
|
||||
return this;
|
||||
}
|
||||
|
||||
clickOnCreateButton() {
|
||||
BrowserActions.click(this.createButton);
|
||||
return this;
|
||||
|
Reference in New Issue
Block a user