π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(test): after fill cell value and press enter wait for dropdown to close
Ramesh Manef414b4af9005
diff --git a/tests/playwright/pages/Dashboard/common/Cell/index.ts b/tests/playwright/pages/Dashboard/common/Cell/index.tsindex bfbea988ff..6e62f46e34 100644--- a/tests/playwright/pages/Dashboard/common/Cell/index.ts+++ b/tests/playwright/pages/Dashboard/common/Cell/index.ts@@ -97,6 +97,7 @@ export class CellPageObject extends BasePage {if (type && [UITypes.Date, UITypes.Time, UITypes.Year, UITypes.DateTime].includes(type)) {await this.rootPage.keyboard.press('Enter');+ await this.rootPage.locator('.nc-dropdown.active').waitFor({ state: 'hidden' });}} else {await this.get({ index, columnHeader }).locator('textarea').fill(text);diff --git a/tests/playwright/pages/Dashboard/common/Topbar/index.ts b/tests/playwright/pages/Dashboard/common/Topbar/index.tsindex 4fc201ae34..e6d3190d46 100644--- a/tests/playwright/pages/Dashboard/common/Topbar/index.ts+++ b/tests/playwright/pages/Dashboard/common/Topbar/index.ts@@ -37,6 +37,7 @@ export class TopbarPage extends BasePage {}async clickShare() {+ await this.btn_share.waitFor({ state: 'visible' });await this.btn_share.click();}