Remove demo shell test and make cloud a bit more stable (#6781)

* remove demo shell test and make cloud a bit more stable

* fix lint

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* try fix attach

* Update .travis.yml

* sleep...

* remove about e2e demo shell....

* fix

* lint fix

* configure

* refactor buuild

* names and remove demo shell build from libs

* fix new build approach

* fix

* fix

* .

* uncomment

* .

* .

* fix

* fix

* .

* fix

* lock update

* fix demo shell errors

* use replay subject

* fix some console log error

* suffix problem

* split process e2e

* not need to check everywhere the pagination e2e

* split content

* fix

* fix

* fix

* fix

* reorg

# Conflicts:
#	.travis.yml
This commit is contained in:
Eugenio Romano
2021-03-17 15:17:46 +00:00
committed by GitHub
parent 90aabe3541
commit cd915b307b
115 changed files with 659 additions and 1117 deletions

View File

@@ -21,7 +21,7 @@ import {
TaskFiltersCloudComponentPage,
EditTaskFilterCloudComponentPage,
TaskListCloudComponentPage,
BrowserActions, DropdownPage, Logger, TestElement
BrowserActions, DropdownPage, TestElement, DataTableComponentPage
} from '@alfresco/adf-testing';
export class TasksCloudDemoPage {
@@ -52,6 +52,7 @@ export class TasksCloudDemoPage {
editTaskFilterCloud = new EditTaskFilterCloudComponentPage();
taskFilterCloudComponent = new TaskFiltersCloudComponentPage();
dataTableComponentPage = new DataTableComponentPage();
async disableDisplayTaskDetails(): Promise<void> {
await this.togglePage.disableToggle(this.displayTaskDetailsToggle);
@@ -161,22 +162,6 @@ export class TasksCloudDemoPage {
}
async waitTillContentLoaded(): Promise<void> {
if (await this.isSpinnerPresent()) {
Logger.log('wait loading spinner disappear');
await this.spinner.waitNotPresent();
} else {
try {
Logger.log('wait loading spinner is present');
await this.spinner.waitPresent();
} catch {}
}
}
private async isSpinnerPresent(): Promise<boolean> {
try {
return await this.spinner.isDisplayed();
} catch {
return false;
}
await this.dataTableComponentPage.waitTillContentLoaded();
}
}