|
|
@ -47,11 +47,11 @@ export class SelectOptionCellPageObject extends BasePage { |
|
|
|
|
|
|
|
|
|
|
|
if (index === -1) { |
|
|
|
if (index === -1) { |
|
|
|
const selectOption = this.rootPage.getByTestId(`select-option-${columnHeader}-undefined`).getByText(option); |
|
|
|
const selectOption = this.rootPage.getByTestId(`select-option-${columnHeader}-undefined`).getByText(option); |
|
|
|
await selectOption.waitFor({ state: 'visible' }); |
|
|
|
await selectOption.scrollIntoViewIfNeeded(); |
|
|
|
await selectOption.click(); |
|
|
|
await selectOption.click(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
const selectOption = this.rootPage.getByTestId(`select-option-${columnHeader}-${index}`).getByText(option); |
|
|
|
const selectOption = this.rootPage.getByTestId(`select-option-${columnHeader}-${index}`).getByText(option); |
|
|
|
await selectOption.waitFor({ state: 'visible' }); |
|
|
|
await selectOption.scrollIntoViewIfNeeded(); |
|
|
|
await selectOption.click(); |
|
|
|
await selectOption.click(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|