Skip to content

Commit def6cce

Browse files
committed
fix: tests
1 parent c11d0d3 commit def6cce

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

tests/suites/tenant/TenantPage.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ export class TenantPage extends PageModel {
2727
this.emptyStateTitle = this.emptyState.locator('.empty-state__title');
2828
}
2929

30-
async waitForDiagnosticsToLoad() {
31-
await this.diagnosticsContainer.waitFor({state: 'visible', timeout: VISIBILITY_TIMEOUT});
32-
return true;
33-
}
34-
3530
async isDiagnosticsVisible() {
3631
await this.diagnosticsContainer.waitFor({state: 'visible', timeout: VISIBILITY_TIMEOUT});
3732
return true;

tests/suites/tenant/initialLoad.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ test.describe('Tenant initial load', () => {
1414
test('Tenant diagnostics page is visible', async ({page}) => {
1515
const tenantPage = new TenantPage(page);
1616
await tenantPage.goto(pageQueryParams);
17-
await tenantPage.waitForDiagnosticsToLoad();
1817

1918
await expect(await tenantPage.isDiagnosticsVisible()).toBeTruthy();
2019
});
@@ -26,7 +25,6 @@ test.describe('Tenant initial load', () => {
2625

2726
const tenantPage = new TenantPage(page);
2827
await tenantPage.goto(pageQueryParams);
29-
await tenantPage.waitForDiagnosticsToLoad();
3028

3129
await expect(await tenantPage.isDiagnosticsVisible()).toBeTruthy();
3230
});

0 commit comments

Comments
 (0)