Browse Source

test: wait for formula cell to render

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5734/head
Raju Udava 1 year ago
parent
commit
19cb20da21
  1. 5
      tests/playwright/pages/Dashboard/common/Cell/index.ts

5
tests/playwright/pages/Dashboard/common/Cell/index.ts

@ -114,6 +114,11 @@ export class CellPageObject extends BasePage {
// if text is found, return
// if text is not found, throw error
let count = 0;
if (!(this.parent instanceof SharedFormPage)) {
await this.rootPage.locator(`td[data-testid="cell-${columnHeader}-${index}"]`).waitFor({ state: 'visible' });
}
await this.get({
index,
columnHeader,

Loading…
Cancel
Save