Skip to content

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

fix(pw): hover selected cell to reset prev tooltip which block pointer event

Ramesh Mane17b76ae86f63
diff --git a/tests/playwright/pages/Dashboard/common/Cell/UserOptionCell.ts b/tests/playwright/pages/Dashboard/common/Cell/UserOptionCell.ts
index 2e76edef30..7ec069522d 100644
--- a/tests/playwright/pages/Dashboard/common/Cell/UserOptionCell.ts
+++ b/tests/playwright/pages/Dashboard/common/Cell/UserOptionCell.ts
@@ -32,9 +32,11 @@ export class UserOptionCellPageObject extends BasePage {
!(await selectCell.getAttribute('class')).includes('active') &&
(await selectCell.locator('.nc-selected-option').count()) === 0
) {
+ await selectCell.hover();
await selectCell.click();
}
+ await selectCell.hover();
await selectCell.click();
await this.rootPage.locator('.nc-dropdown-user-select-cell.active').waitFor({ state: 'visible' });