Skip to content

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

fix(pw): source restriction test fail issue

Ramesh Mane4442dfb67b71
diff --git a/tests/playwright/tests/db/general/sourceRestrictions.spec.ts b/tests/playwright/tests/db/general/sourceRestrictions.spec.ts
index e2519a04de..798761bc6a 100644
--- a/tests/playwright/tests/db/general/sourceRestrictions.spec.ts
+++ b/tests/playwright/tests/db/general/sourceRestrictions.spec.ts
@@ -66,10 +66,10 @@ test.describe('Source Restrictions', () => {
// reload page to reflect source changes
await dashboard.rootPage.reload();
- await dashboard.treeView.verifyTable({ title: 'Actor' });
+ await dashboard.treeView.verifyTable({ title: 'Actor', baseTitle: context.base.title });
// open table and verify that it is readonly
- await dashboard.treeView.openTable({ title: 'Actor' });
+ await dashboard.treeView.openTable({ title: 'Actor', baseTitle: context.base.title });
await dashboard.grid
.get()
@@ -108,7 +108,7 @@ test.describe('Source Restrictions', () => {
// reload page to reflect source changes
await dashboard.rootPage.reload();
- await dashboard.treeView.verifyTable({ title: 'Country' });
+ await dashboard.treeView.verifyTable({ title: 'Country', baseTitle: context.base.title });
// open table and verify that it is readonly
await dashboard.treeView.openTable({ title: 'Country', baseTitle: context.base.title });