Browse Source

test: fix PW

pull/9259/head
Raju Udava 3 months ago
parent
commit
564fe2a6bd
  1. 4
      tests/playwright/pages/Dashboard/Grid/Column/UserOptionColumn.ts

4
tests/playwright/pages/Dashboard/Grid/Column/UserOptionColumn.ts

@ -80,7 +80,7 @@ export class UserOptionColumnPageObject extends BasePage {
} }
async clearDefaultValue(): Promise<void> { async clearDefaultValue(): Promise<void> {
await this.get().locator('.nc-cell-user + svg.nc-icon').click(); await this.get().locator('.nc-default-value-wrapper > svg.nc-icon').click();
} }
async verifyDefaultValueOptionCount({ async verifyDefaultValueOptionCount({
@ -92,7 +92,7 @@ export class UserOptionColumnPageObject extends BasePage {
}): Promise<void> { }): Promise<void> {
await this.column.openEdit({ title: columnTitle }); await this.column.openEdit({ title: columnTitle });
await this.column.get().locator('.nc-cell-user > .nc-user-select').click(); await this.column.get().locator('.nc-default-value-wrapper > .nc-user-select').click();
await this.rootPage.locator('.nc-dropdown-user-select-cell').waitFor({ state: 'visible' }); await this.rootPage.locator('.nc-dropdown-user-select-cell').waitFor({ state: 'visible' });

Loading…
Cancel
Save