-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Drag&Drop doesn't work in 1.18 #10636
Comments
@mdemenko Could you please share a trace file with us? You can send it to dgozman [at] microsoft [dot] com if you'd like. See here for recording a trace: https://playwright.dev/docs/trace-viewer#recording-a-trace. |
@mdemenko could you confirm that running the test with the following environment variable |
I've checked with this variable. Issue isn't reproducible. |
@mdemenko In this case, please upgrade to v1.17.1 and the problem should be gone. Please let us know whether it worked for you, and we'll close this issue. |
If you could share a repro with us, that would be great! We'll be able to prevent similar breakages in the future. |
Updated to 1.17.1. Issue is resolved. |
@dgozman Issue is reproducible on 1.18.0 version. Locator.dragTo(locator) command doesn't work as well. |
@mdemenko Could you please share the page url? |
@dgozman I can't provide page url since it's internal project. Are you able to reproduce the defect with the steps from description? Update: I've checked on testing site and issue isn't reproducible. test("drag&drop", async ({ page }) => { So seems it's specific for some components. Current test is checking drag&drop for table rows (DxDataGrid component, DevExpress 21.2) |
@dgozman Added test for checking on devexpress demo site import`` { test } from "@playwright/test" test.only("basic test", async ({ page }) => {
}) |
@mdemenko this is fixed on the tip-of-tree. Can you please try installing |
Context:
Code Snippet
import test from '@playwright/test';
test('Example test', async ({page}) => {
const originSelector = ".dx-command-drag >> nth=1"
const targetSelector = ".dx-command-drag >> nth=3"
await this.page.dragAndDrop(originSelector, targetSelector)})
Describe the bug
Origin selector isn't released after moving to the target position. Same code is working in 1.16.2 version
Log.txt
The text was updated successfully, but these errors were encountered: