[no-issue] refactor failing e2e (#3865)

* fix ps test

* fix import

* fix import

* fix ps

* fix hyperlink

* fix radio hiperlynk

* autorename for clashes

* notification fix

* convert userdialog to ts

* fix travis configuration

* fix download in folder

* convert contentservice page to ts

* convert setting and login to ts

* remove unused import

* fix login import

* fix login page

* fix chips

* fix import
speed up viewer test

* fix contentlist

* change id

* fix cs e2e

* fix search lint

* fix name issue
This commit is contained in:
Eugenio Romano
2018-10-11 14:22:44 +01:00
committed by GitHub
parent 29f28c7c82
commit 7fd905d92c
120 changed files with 2453 additions and 2985 deletions

View File

@@ -16,10 +16,6 @@
data-automation-id="notification-message">
</mat-form-field>
<button mat-icon-button (click)="send()" data-automation-id="notification-default-button">
<mat-icon>send</mat-icon>
</button>
<div>
<mat-slide-toggle
[(ngModel)]="withAction"

View File

@@ -96,20 +96,6 @@ export class NotificationsComponent implements OnInit {
}
}
send() {
this.actionOutput = '';
if (this.message) {
if (this.withAction) {
this.notificationService.openSnackMessageAction(this.message, 'Some action', this.snackBarConfig.duration)
.onAction()
.subscribe(() => this.actionOutput = 'Action clicked');
} else {
this.notificationService.openSnackMessage(this.message, this.snackBarConfig.duration);
}
}
}
sendCustomConfig() {
this.actionOutput = '';
this.snackBarConfigObject = `{"direction": "${this.snackBarConfig.direction}",