test(e2e): improve error reporting (#4931)

* cleanup

* test(e2e): improve error reporting

* lint

* lint

* better timeout messages

* fix shouldNotExist
This commit is contained in:
Elio Bischof
2023-01-04 14:38:27 +01:00
committed by GitHub
parent dc2a4ea92c
commit 35faa1b233
12 changed files with 84 additions and 225 deletions

View File

@@ -62,7 +62,7 @@ export class ToastService {
message,
},
duration: success ? 4000 : 5000,
panelClass: success ? 'data-e2e-success' : 'data-e2e-failure',
panelClass: ['data-e2e-message', success ? 'data-e2e-success' : 'data-e2e-failure'],
horizontalPosition: this.horizontalPosition,
verticalPosition: this.verticalPosition,
});