|
|
@ -57,14 +57,14 @@ export class UserOptionColumnPageObject extends BasePage { |
|
|
|
for (const op of optionsToSelect) { |
|
|
|
for (const op of optionsToSelect) { |
|
|
|
await this.selectOption({ option: op }); |
|
|
|
await this.selectOption({ option: op }); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Press `Escape` to close the dropdown
|
|
|
|
|
|
|
|
await this.rootPage.keyboard.press('Escape'); |
|
|
|
|
|
|
|
await this.rootPage.locator('.nc-dropdown-user-select-cell').waitFor({ state: 'hidden' }); |
|
|
|
} else if (!Array.isArray(option)) { |
|
|
|
} else if (!Array.isArray(option)) { |
|
|
|
await this.selectOption({ option }); |
|
|
|
await this.selectOption({ option }); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Press `Escape` to close the dropdown
|
|
|
|
|
|
|
|
await this.rootPage.keyboard.press('Escape'); |
|
|
|
|
|
|
|
await this.rootPage.locator('.nc-dropdown-user-select-cell').waitFor({ state: 'hidden' }); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await this.column.save({ isUpdated: true }); |
|
|
|
await this.column.save({ isUpdated: true }); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|