fix: user field selection, add delay

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
Raju Udava
2025-05-13 23:16:48 +05:30
parent d1d974c36a
commit 36fb239b8a

View File

@@ -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();