fix infinite test pagination for slow envs

This commit is contained in:
Eugenio Romano
2020-11-18 14:50:40 +00:00
parent 018a1ec531
commit 20810ecf17

View File

@@ -413,7 +413,7 @@ export class DataTableComponentPage {
} else { } else {
try { try {
Logger.log('wait datatable loading spinner is present'); Logger.log('wait datatable loading spinner is present');
await BrowserVisibility.waitUntilElementIsVisible(element(by.tagName('mat-progress-bar')), 2000); await BrowserVisibility.waitUntilElementIsVisible(element(by.tagName('mat-progress-bar')));
} catch (error) { } catch (error) {
} }
if (await this.isEmpty()) { if (await this.isEmpty()) {