mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-24 23:45:38 +00:00
fix: user field selection, add delay
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -39,6 +39,9 @@ export class UserOptionCellPageObject extends BasePage {
|
||||
|
||||
await this.rootPage.locator('.nc-dropdown-user-select-cell.active').waitFor({ state: 'visible' });
|
||||
|
||||
// add 500ms wait to ensure dropdown is open
|
||||
await this.rootPage.waitForTimeout(100);
|
||||
|
||||
if (index === -1) {
|
||||
const selectOption = this.rootPage.getByTestId(`select-option-${columnHeader}-undefined`).getByText(option);
|
||||
await selectOption.scrollIntoViewIfNeeded();
|
||||
|
||||
Reference in New Issue
Block a user