From f235e818b6af98f17b967f32b490b6791e756f1b Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Sat, 7 Oct 2023 17:14:50 +0530 Subject: [PATCH] fix(nc-gui): Test fix --- tests/playwright/pages/Dashboard/ProjectView/DataSourcePage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/pages/Dashboard/ProjectView/DataSourcePage.ts b/tests/playwright/pages/Dashboard/ProjectView/DataSourcePage.ts index 687b34c2c6..5d17bf5c3a 100644 --- a/tests/playwright/pages/Dashboard/ProjectView/DataSourcePage.ts +++ b/tests/playwright/pages/Dashboard/ProjectView/DataSourcePage.ts @@ -55,6 +55,6 @@ export class DataSourcePage extends BasePage { const row = this.get() .locator('.ds-table-row') .nth(rowIndex + 1); - await row.locator('button.nc-action-btn:has-text("Audit")').click(); + await row.getByTestId('nc-data-sources-view-audit').click(); } }