Browse Source

fix(test): pw test fail issue

pull/8836/head
Ramesh Mane 3 months ago
parent
commit
c6ad09b89c
  1. 5
      tests/playwright/pages/Dashboard/common/Cell/index.ts
  2. 2
      tests/playwright/tests/db/features/verticalFillHandle.spec.ts

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

@ -144,6 +144,11 @@ export class CellPageObject extends BasePage {
await this.rootPage.locator(`td[data-testid="cell-${columnHeader}-${index}"]`).waitFor({ state: 'visible' });
}
await this.get({
index,
columnHeader,
}).waitFor({ state: 'visible' });
await this.get({
index,
columnHeader,

2
tests/playwright/tests/db/features/verticalFillHandle.spec.ts

@ -31,6 +31,8 @@ async function dragDrop({
// drag and drop
await src.dragTo(dst);
await params.dashboard.rootPage.waitForTimeout(250);
}
async function beforeEachInit({ page, tableType }: { page: any; tableType: string }) {
const context = await setup({ page, isEmptyProject: true });

Loading…
Cancel
Save