Browse Source

test: fix for multiple edit modals open at same time

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/4882/head
Raju Udava 2 years ago
parent
commit
3299f3afad
  1. 2
      tests/playwright/pages/Dashboard/Grid/Column/index.ts

2
tests/playwright/pages/Dashboard/Grid/Column/index.ts

@ -269,7 +269,7 @@ export class ColumnPageObject extends BasePage {
timeFormat?: string; timeFormat?: string;
}) { }) {
await this.getColumnHeader(title).locator('.nc-ui-dt-dropdown').click(); await this.getColumnHeader(title).locator('.nc-ui-dt-dropdown').click();
await this.rootPage.locator('li[role="menuitem"]:has-text("Edit")').click(); await this.rootPage.locator('li[role="menuitem"]:has-text("Edit")').last().click();
await this.get().waitFor({ state: 'visible' }); await this.get().waitFor({ state: 'visible' });

Loading…
Cancel
Save