From 98c95a581549dd77283e6aab467043ae368a9b52 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Fri, 17 May 2024 09:35:49 +0000 Subject: [PATCH] test: role verification test corrections --- tests/playwright/pages/Dashboard/ProjectView/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/playwright/pages/Dashboard/ProjectView/index.ts b/tests/playwright/pages/Dashboard/ProjectView/index.ts index 7d00051aee..56633a38f9 100644 --- a/tests/playwright/pages/Dashboard/ProjectView/index.ts +++ b/tests/playwright/pages/Dashboard/ProjectView/index.ts @@ -54,13 +54,13 @@ export class ProjectViewPage extends BasePage { expect(await this.tab_allTables.isVisible()).toBeTruthy(); if (role.toLowerCase() === 'creator' || role.toLowerCase() === 'owner') { - await this.tab_dataSources.waitFor({ state: 'visible' }); await this.tab_accessSettings.waitFor({ state: 'visible' }); - expect(await this.tab_dataSources.isVisible()).toBeTruthy(); expect(await this.tab_accessSettings.isVisible()).toBeTruthy(); + // await this.tab_dataSources.waitFor({ state: 'visible' }); + // expect(await this.tab_dataSources.isVisible()).toBeTruthy(); } else { - expect(await this.tab_dataSources.isVisible()).toBeFalsy(); expect(await this.tab_accessSettings.isVisible()).toBeFalsy(); + // expect(await this.tab_dataSources.isVisible()).toBeFalsy(); } await this.tables.verifyAccess(role);