mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 18:17:11 +00:00
fix: playwright form view select field dblClick issue
This commit is contained in:
@@ -47,11 +47,11 @@ export class SelectOptionCellPageObject extends BasePage {
|
||||
|
||||
if (index === -1) {
|
||||
const selectOption = this.rootPage.getByTestId(`select-option-${columnHeader}-undefined`).getByText(option);
|
||||
await selectOption.waitFor({ state: 'visible' });
|
||||
await selectOption.scrollIntoViewIfNeeded();
|
||||
await selectOption.click();
|
||||
} else {
|
||||
const selectOption = this.rootPage.getByTestId(`select-option-${columnHeader}-${index}`).getByText(option);
|
||||
await selectOption.waitFor({ state: 'visible' });
|
||||
await selectOption.scrollIntoViewIfNeeded();
|
||||
await selectOption.click();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user