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 await this.rootPage
.locator('.nc-group-by-create-modal') .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(); .scrollIntoViewIfNeeded();
// select column // select column
const selectColumn = async () => const selectColumn = async () =>
await this.rootPage await this.rootPage
.locator('.nc-group-by-create-modal') .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 }); .click({ force: true });
await this.waitForResponse({ await this.waitForResponse({

Loading…
Cancel
Save