Browse Source

test: select option dangling dropdown fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5106/head
Raju Udava 2 years ago
parent
commit
859c27935c
  1. 3
      tests/playwright/pages/Dashboard/common/Cell/SelectOptionCell.ts

3
tests/playwright/pages/Dashboard/common/Cell/SelectOptionCell.ts

@ -65,6 +65,9 @@ export class SelectOptionCellPageObject extends BasePage {
await this.get({ index, columnHeader }).click();
await this.rootPage.locator('.ant-select-single > .ant-select-clear').click();
// Press `Escape` to close the dropdown
await this.rootPage.keyboard.press('Escape');
await this.rootPage.locator(`.nc-dropdown-single-select-cell`).waitFor({ state: 'hidden' });
}

Loading…
Cancel
Save