[no-issue] general fix e2e and unit test (#3903)

* add missing import
remove creation folder in redirect test in main folder
fix update script
update node js-api to last alpha before to install
improve share dialog test

* update gnu

* fix notification and search e2e

* change name compatible with file name

* improve failing test to avoid cdk overlay problems

* [ADF-3561] fix Outcome not translatable

* increase sleep in user permission
checklist missing uppercase
comment possible different value in test due time

* improve document list actions

* improve document list action test

* tag refresh bbefore next test
comment possible value due the time
This commit is contained in:
Eugenio Romano
2018-10-20 18:16:44 +01:00
committed by GitHub
parent 4c9629c2d6
commit 368f949fc4
42 changed files with 225 additions and 232 deletions

View File

@@ -20,6 +20,7 @@ import { FormControllersPage } from './material/formControllersPage';
import Util = require('../../util/util');
import TestConfig = require('../../test.config');
import { SettingsPage } from './settingsPage';
import { element, by, protractor, browser } from 'protractor';
export class LoginPage {
@@ -50,11 +51,6 @@ export class LoginPage {
header = element(by.id('adf-header'));
cardBackground = element(by.css('mat-card[class*="adf-login-card"]'));
settingsPage = new SettingsPage();
loginForm = element(by.css('form[id="adf-login-form"'));
checkLoginFormIsDisplayed() {
Util.waitUntilElementIsVisible(this.loginForm);
}
waitForElements() {
let deferred = protractor.promise.defer();