[ADF-4547] Fixing flaky tests in Content Services and Core (#4743)

This commit is contained in:
Marouan Bentaleb
2019-05-22 14:57:20 +01:00
committed by Denys Vuika
parent 58cf10be5f
commit 5e7aabfaea
9 changed files with 44 additions and 59 deletions

View File

@@ -288,7 +288,7 @@ export class DataTableComponentPage {
}
getCellByRowNumberAndColumnName(rowNumber, columnName) {
return this.list.get(rowNumber).element(by.css(`div[title="${columnName}"] span`));
return this.list.get(rowNumber).all(by.css(`div[title="${columnName}"] span`)).first();
}
getCellByRowContentAndColumn(rowColumn, rowContent, columnName) {