π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(test): shared base pw test fail issue
Ramesh Mane104e8b6be33e
diff --git a/tests/playwright/pages/Dashboard/ExpandedForm/index.ts b/tests/playwright/pages/Dashboard/ExpandedForm/index.tsindex 087dcbfcba..1134e1b45c 100644--- a/tests/playwright/pages/Dashboard/ExpandedForm/index.ts+++ b/tests/playwright/pages/Dashboard/ExpandedForm/index.ts@@ -232,16 +232,16 @@ export class ExpandedFormPage extends BasePage {await this.btn_moreActions.click();}+ if (!isEE()) {+ await expect(this.rootPage.getByTestId('nc-expanded-form-reload')).toBeVisible();+ } else {+ await expect(this.rootPage.getByTestId('nc-expanded-form-reload')).toHaveCount(0);+ }+if (role === 'owner' || role === 'editor' || role === 'creator') {- if (!isEE()) {- await expect(this.rootPage.getByTestId('nc-expanded-form-reload')).toBeVisible();- } else {- await expect(this.rootPage.getByTestId('nc-expanded-form-reload')).toHaveCount(0);- }await expect(this.rootPage.getByTestId('nc-expanded-form-duplicate')).toBeVisible();await expect(this.rootPage.getByTestId('nc-expanded-form-delete')).toBeVisible();} else {- await expect(this.rootPage.getByTestId('nc-expanded-form-reload')).toHaveCount(0);await expect(this.rootPage.getByTestId('nc-expanded-form-duplicate')).toHaveCount(0);await expect(this.rootPage.getByTestId('nc-expanded-form-delete')).toHaveCount(0);}