mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[ACA-4049] Improve check for content on lists (#6279)
* Add waitTillContentLoaded in check method Add waitTillContentLoaded() step in check Content Is Displayed By Column for process and task lists to prevent future failures because of the loading time. * Add waitTillContentLoaded in check method Add waitTillContentLoaded() step in check Content Is Not Displayed By Column for process and task lists to prevent future failures because of the loading time.
This commit is contained in:
parent
6d7d46eeb8
commit
faacac6c5f
@ -56,11 +56,13 @@ export class ProcessListPage {
|
||||
}
|
||||
}
|
||||
|
||||
checkContentIsDisplayedByColumn(column: string, processName: string): Promise<void> {
|
||||
async checkContentIsDisplayedByColumn(column: string, processName: string): Promise<void> {
|
||||
await this.dataTable.waitTillContentLoaded();
|
||||
return this.dataTable.checkContentIsDisplayed(column, processName);
|
||||
}
|
||||
|
||||
checkContentIsNotDisplayedByColumn(column: string, processName: string): Promise<void> {
|
||||
async checkContentIsNotDisplayedByColumn(column: string, processName: string): Promise<void> {
|
||||
await this.dataTable.waitTillContentLoaded();
|
||||
return this.dataTable.checkContentIsNotDisplayed(column, processName);
|
||||
}
|
||||
|
||||
|
@ -43,11 +43,13 @@ export class TaskListPage {
|
||||
return this.dataTable.getRowsWithSameColumnValues('Name', taskName);
|
||||
}
|
||||
|
||||
checkContentIsDisplayedByColumn(column: string, processName: string): Promise<void> {
|
||||
async checkContentIsDisplayedByColumn(column: string, processName: string): Promise<void> {
|
||||
await this.dataTable.waitTillContentLoaded();
|
||||
return this.dataTable.checkContentIsDisplayed(column, processName);
|
||||
}
|
||||
|
||||
checkContentIsNotDisplayedByColumn(column: string, processName: string): Promise<void> {
|
||||
async checkContentIsNotDisplayedByColumn(column: string, processName: string): Promise<void> {
|
||||
await this.dataTable.waitTillContentLoaded();
|
||||
return this.dataTable.checkContentIsNotDisplayed(column, processName);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user