Browse Source

fix(test): ctx meny delete

pull/6384/head
sreehari jayaraj 1 year ago
parent
commit
d3ad9a20de
  1. 3
      tests/playwright/pages/Dashboard/Grid/Group.ts

3
tests/playwright/pages/Dashboard/Grid/Group.ts

@ -121,8 +121,7 @@ export class GroupPageObject extends BasePage {
});
// Click text=Delete Row
await this.rootPage.locator('text=Delete Row').click();
await this.rootPage.locator('.ant-dropdown-menu-item:has-text("Delete row")').click();
// todo: improve selector
await this.rootPage
.locator('span.ant-dropdown-menu-title-content > nc-project-menu-item')

Loading…
Cancel
Save