Skip to content

Commit c11d0d3

Browse files
committed
fix: tests
1 parent c07e55c commit c11d0d3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/suites/tenant/TenantPage.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,17 @@ export class TenantPage extends PageModel {
2929

3030
async waitForDiagnosticsToLoad() {
3131
await this.diagnosticsContainer.waitFor({state: 'visible', timeout: VISIBILITY_TIMEOUT});
32+
return true;
3233
}
3334

3435
async isDiagnosticsVisible() {
35-
return this.diagnosticsContainer.waitFor({state: 'visible', timeout: VISIBILITY_TIMEOUT});
36+
await this.diagnosticsContainer.waitFor({state: 'visible', timeout: VISIBILITY_TIMEOUT});
37+
return true;
3638
}
3739

3840
async isEmptyStateVisible() {
39-
return this.emptyState.waitFor({state: 'visible', timeout: VISIBILITY_TIMEOUT});
41+
await this.emptyState.waitFor({state: 'visible', timeout: VISIBILITY_TIMEOUT});
42+
return true;
4043
}
4144

4245
async getEmptyStateTitle(): Promise<string> {

0 commit comments

Comments
 (0)