[ADF-3351] angular 7 (#3956)

* upgrade Angular CLI

* upgrade material and fix breaking changes

* upgrade lib dependencies

* upgrade i18n

* update test

* disable flaky tests

* try fix notification test

* update package-lock

* code and dependency fixes

* card view e2e fixes

* udpate e2e tests

* fix e2e utils

* updated e2e typings

* test fixes

* notification fixes

* update tests
This commit is contained in:
Denys Vuika
2018-12-07 09:16:21 +00:00
committed by Eugenio Romano
parent 811a3f1f7d
commit 220930d27b
28 changed files with 5473 additions and 4626 deletions

View File

@@ -16,7 +16,7 @@
*/
import { Util } from '../../util/util';
import { element, by, protractor, browser } from 'protractor';
import { element, by, protractor, browser, until } from 'protractor';
export class NotificationPage {
@@ -29,7 +29,7 @@ export class NotificationPage {
notificationSnackBar = element.all(by.css('simple-snack-bar')).first();
actionOutput = element(by.css('div[data-automation-id="notification-action-output"]'));
customNotificationButton = element(by.css('button[data-automation-id="notification-custom-config-button"]'));
selectionDropDown = element.all(by.css('div[class*="mat-select-content"]')).first();
selectionDropDown = element.all(by.css('.mat-select-panel')).first();
notificationsPage = element(by.css('a[data-automation-id="Notifications"]'));
notificationConfig = element(by.css('p[data-automation-id="notification-custom-object"]'));
@@ -98,8 +98,10 @@ export class NotificationPage {
}
clickNotificationButton() {
Util.waitUntilElementIsVisible(this.customNotificationButton);
this.customNotificationButton.click();
// Util.waitUntilElementIsVisible(this.customNotificationButton);
// this.customNotificationButton.click();
const button = browser.wait(until.elementLocated(by.css('button[data-automation-id="notification-custom-config-button"]')));
button.click();
}
checkActionEvent() {