upgrade to Angular 7 (#758)

* angular 7 upgrade

* try to fix e2e failures

* reduce wait for snackbar

* wait presenceOf instead of visibilityOf

* angular 7 upgrade

* try to fix e2e failures

* reduce wait for snackbar

* wait presenceOf instead of visibilityOf

* one more try to fix e2e snackbar issues

* yet another try

* only wait in some tests

* diable animations, extra e2e app configuration

* update tomcat e2e script

* fix prod build memory use

* use another type of wait

* disable check

to be investigated separately
This commit is contained in:
Denys Vuika
2018-10-31 17:53:36 +02:00
committed by Cilibiu Bogdan
parent 408bacd483
commit 3a8dbcd7a4
16 changed files with 3034 additions and 1898 deletions
@@ -80,8 +80,6 @@ describe('Permanently delete from Trash', () => {
await dataTable.selectItem(file1);
await toolbar.getButtonByTitleAttribute('Permanently delete').click();
await page.waitForDialog();
// await trashPage.getDialogActionByLabel('Delete').click();
// await trashPage.waitForDialogToClose();
await confirmDialog.clickButton('Delete');
const text = await page.getSnackBarMessage();
@@ -93,8 +91,6 @@ describe('Permanently delete from Trash', () => {
await dataTable.selectItem(folder1);
await toolbar.getButtonByTitleAttribute('Permanently delete').click();
await page.waitForDialog();
// await trashPage.getDialogActionByLabel('Delete').click();
// await trashPage.waitForDialogToClose();
await confirmDialog.clickButton('Delete');
const text = await page.getSnackBarMessage();
@@ -106,8 +102,6 @@ describe('Permanently delete from Trash', () => {
await dataTable.selectMultipleItems([ file2, folder2 ]);
await toolbar.getButtonByTitleAttribute('Permanently delete').click();
await page.waitForDialog();
// await trashPage.getDialogActionByLabel('Delete').click();
// await trashPage.waitForDialogToClose();
await confirmDialog.clickButton('Delete');
const text = await page.getSnackBarMessage();