exclude one test and do some fixes (#1869)

* exclude one test and do some fixes

* try to get more logs

* some more fixes

* try to workaround the slow update of toggle menus

* more logging

* no message

* trigger another run

* Update delete-undo-delete.test.ts

* no message

* rename methods

* no message

* no message

* no message

* no message

* no message

* no message

* update travis.yml

* run travis on branch

* trigger travis

* cleanup

* no message
This commit is contained in:
Adina Parpalita
2020-12-15 12:10:01 +02:00
committed by GitHub
parent 7a5350a06d
commit 13fa065654
31 changed files with 581 additions and 389 deletions

View File

@@ -190,6 +190,7 @@ export class DataTable extends Component {
}
async hasCheckMarkIcon(itemName: string, location: string = ''): Promise<boolean> {
Logger.info(`--- check if item already selected : ${itemName} ${location}`);
const row = this.getRowByName(itemName, location);
return row.element(by.css('.mat-icon[class*="selected"]')).isPresent();
}
@@ -235,6 +236,7 @@ export class DataTable extends Component {
const isSelected = await this.hasCheckMarkIcon(name, location);
if (!isSelected) {
try {
Logger.info(`--- selecting item : ${name} ${location}`);
const item = this.getRowFirstCell(name, location);
await item.click();
} catch (e) {