mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-5743] Cleanup Content tests (Demo Shell) (#8799)
* remove unused demo shell api
* remove recent files and cleanup unused api
* cleanup upload dialog page
* [ci:force] dummy commit
* [ci:force] cleanup the toolbar and tooltips
* [ci:force] remove dead code
* [ci:force] remove logger and custom action
* [ci:force] remove custom permission e2e test as already tested by unit
* [ci:force] remove "Start process" from the Content demo as not related to document list
* [ci:force] remove useless divs for selection
* [ci:force] dummy change to trigger CI/CD
* Revert "[ci:force] remove useless divs for selection"
This reverts commit fb3ae0b439
.
* [ci:force] remove e2e for artificial scenario
* [ci:force] cleanup unused navigation bar protractor api
* [ci:force] cleanup unused datatable protractor api
* [ci:force] cleanup unused login protractor api
* [ci:force] fix process cloud demo page selector
This commit is contained in:
@@ -16,11 +16,11 @@
|
||||
*/
|
||||
|
||||
import { BrowserActions, BrowserVisibility, EditProcessFilterCloudComponentPage, ProcessFiltersCloudComponentPage, ProcessListCloudComponentPage } from '@alfresco/adf-testing';
|
||||
import { by, element, $ } from 'protractor';
|
||||
import { $ } from 'protractor';
|
||||
|
||||
export class ProcessCloudDemoPage {
|
||||
|
||||
createButton = $('button[data-automation-id="create-button"');
|
||||
createButton = $('button[data-automation-id="create-button"]');
|
||||
newProcessButton = $('button[data-automation-id="btn-start-process"]');
|
||||
|
||||
processListCloud = new ProcessListCloudComponentPage();
|
||||
@@ -35,10 +35,6 @@ export class ProcessCloudDemoPage {
|
||||
return this.processListCloud;
|
||||
}
|
||||
|
||||
getAllRowsByIdColumn(): Promise<any> {
|
||||
return this.processListCloud.getAllRowsByColumn('Id');
|
||||
}
|
||||
|
||||
async openNewProcessForm(): Promise<void> {
|
||||
await this.clickOnCreateButton();
|
||||
await this.newProcessButtonIsDisplayed();
|
||||
@@ -52,11 +48,4 @@ export class ProcessCloudDemoPage {
|
||||
async clickOnCreateButton(): Promise<void> {
|
||||
await BrowserActions.click(this.createButton);
|
||||
}
|
||||
|
||||
async checkActionExecuted(processInstanceId: string, action: string): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(element(by.cssContainingText(`span`, 'Action Menu:')));
|
||||
await BrowserVisibility.waitUntilElementIsVisible(element(by.cssContainingText(`span`, 'Context Menu:')));
|
||||
await BrowserVisibility.waitUntilElementIsVisible(element(by.cssContainingText(`span`, 'Process Instance ID: ' + processInstanceId)));
|
||||
await BrowserVisibility.waitUntilElementIsVisible(element(by.cssContainingText(`span`, 'Action Type: ' + action)));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user