mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 12:16:38 +00:00
feat(testing): Added polling to most expect and added stabalization
This commit is contained in:
@@ -62,9 +62,7 @@ export class SelectOptionCellPageObject extends BasePage {
|
||||
|
||||
let counter = 0;
|
||||
for (const option of options) {
|
||||
const optionInDom = await this.rootPage.locator(`div.ant-select-item-option`).nth(counter)
|
||||
.evaluate((node) => (node as HTMLElement).innerText)
|
||||
await expect(optionInDom).toBe(option);
|
||||
await expect(this.rootPage.locator(`div.ant-select-item-option`).nth(counter)).toHaveText(option);
|
||||
counter++;
|
||||
}
|
||||
await this.get({index, columnHeader}).click();
|
||||
|
||||
Reference in New Issue
Block a user