From 627e991c47873654211c90882c9a89435904dd44 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Thu, 26 Oct 2023 16:52:30 +0000 Subject: [PATCH] fix: Fixed column width undo test with column dnd --- tests/playwright/pages/Dashboard/Grid/Column/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/playwright/pages/Dashboard/Grid/Column/index.ts b/tests/playwright/pages/Dashboard/Grid/Column/index.ts index e8741556ed..5c98201847 100644 --- a/tests/playwright/pages/Dashboard/Grid/Column/index.ts +++ b/tests/playwright/pages/Dashboard/Grid/Column/index.ts @@ -439,7 +439,14 @@ export class ColumnPageObject extends BasePage { this.rootPage.locator(`[data-title="${dst}"] >> .resizer`), ]); + await fromStack.scrollIntoViewIfNeeded(); + await fromStack.hover(); await fromStack.dragTo(toStack); + + await this.rootPage.waitForTimeout(500); + await fromStack.click({ + force: true, + }); } async getWidth(param: { title: string }) {