Browse Source

fix: Fixed column width undo test with column dnd

pull/6810/head
Muhammed Mustafa 1 year ago
parent
commit
627e991c47
  1. 7
      tests/playwright/pages/Dashboard/Grid/Column/index.ts

7
tests/playwright/pages/Dashboard/Grid/Column/index.ts

@ -439,7 +439,14 @@ export class ColumnPageObject extends BasePage {
this.rootPage.locator(`[data-title="${dst}"] >> .resizer`), this.rootPage.locator(`[data-title="${dst}"] >> .resizer`),
]); ]);
await fromStack.scrollIntoViewIfNeeded();
await fromStack.hover();
await fromStack.dragTo(toStack); await fromStack.dragTo(toStack);
await this.rootPage.waitForTimeout(500);
await fromStack.click({
force: true,
});
} }
async getWidth(param: { title: string }) { async getWidth(param: { title: string }) {

Loading…
Cancel
Save