Browse Source

fix(test): groupBy test fail issue

pull/8188/head
Ramesh Mane 8 months ago
parent
commit
d06a737847
  1. 4
      tests/playwright/pages/Dashboard/common/Toolbar/Groupby.ts

4
tests/playwright/pages/Dashboard/common/Toolbar/Groupby.ts

@ -93,14 +93,14 @@ export class ToolbarGroupByPage extends BasePage {
await this.rootPage
.locator('.nc-group-by-create-modal')
.locator('.nc-group-by-column-search-item >> div', { hasText: regexTitle })
.locator('.nc-group-by-column-search-item', { hasText: regexTitle })
.scrollIntoViewIfNeeded();
// select column
const selectColumn = async () =>
await this.rootPage
.locator('.nc-group-by-create-modal')
.locator('.nc-group-by-column-search-item >> div', { hasText: regexTitle })
.locator('.nc-group-by-column-search-item', { hasText: regexTitle })
.click({ force: true });
await this.waitForResponse({

Loading…
Cancel
Save