mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Fix broken e2e tests because of the lack of thrown error (#6180)
This commit is contained in:
parent
302482945c
commit
5ff3852c84
@ -267,6 +267,8 @@ export class DataTableComponentPage {
|
|||||||
if (retry < 3) {
|
if (retry < 3) {
|
||||||
retry++;
|
retry++;
|
||||||
await this.checkContentIsDisplayed(columnName, columnValue, retry);
|
await this.checkContentIsDisplayed(columnName, columnValue, retry);
|
||||||
|
} else {
|
||||||
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -281,6 +283,8 @@ export class DataTableComponentPage {
|
|||||||
if (retry < 3) {
|
if (retry < 3) {
|
||||||
retry++;
|
retry++;
|
||||||
await this.checkContentIsNotDisplayed(columnName, columnValue, retry);
|
await this.checkContentIsNotDisplayed(columnName, columnValue, retry);
|
||||||
|
} else {
|
||||||
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user