Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

test(playwright): selector correction

Pranav Cc007c72aebb7
diff --git a/tests/playwright/pages/Dashboard/Scripts/index.ts b/tests/playwright/pages/Dashboard/Scripts/index.ts
index 09ee3f33a0..7b2dcd90aa 100644
--- a/tests/playwright/pages/Dashboard/Scripts/index.ts
+++ b/tests/playwright/pages/Dashboard/Scripts/index.ts
@@ -71,7 +71,7 @@ export class ScriptsPage extends BasePage {
}
getBottomBar() {
- return this.dashboardPage.get().locator('.h-9.border-t-1');
+ return this.dashboardPage.get().locator('[data-test-id="script-editor-bottom-bar"]');
}
async toggleEditor(): Promise<void> {