-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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]: DragTo Fails in 1.50 #34688
Comments
Hi Tally, we unfortunately need a reproduction in order to triage this issue further. Maybe you can create a self-contained reproduction with the dev team of your site? |
hola @mxschmitt !
Dragto is not yelling, but at the same time it does not do what is expected. do I miss anything here? is that a problem with the Angular CDK? |
Investigation notes:
e.g. this makes it pass: diff --git a/packages/playwright-core/src/server/frames.ts b/packages/playwright-core/src/server/frames.ts
index 2183d3f40..5abf9a8d0 100644
--- a/packages/playwright-core/src/server/frames.ts
+++ b/packages/playwright-core/src/server/frames.ts
@@ -1210,6 +1210,7 @@ export class Frame extends SdkObject {
dom.assertDone(await this._retryWithProgressIfNotConnected(progress, target, options.strict, false /* performActionPreChecks */, async handle => {
return handle._retryPointerAction(progress, 'move and up', false, async point => {
await this._page.mouse.move(point.x, point.y);
+ await this._page.mouse.move(point.x + 1, point.y);
await this._page.mouse.up();
}, {
...options, @Tallyb from quickly running this script in v1.49.0 it wasn't passing for me in v1.49.0 either, is this the same what you are experiencing? |
No, this was not passing on 1.49, but as we use angular cdk, I was hoping it will shed some light. |
I'll try to get it fixed and then you can try the @beta version and see if it works there! |
Version
1.50.1
Steps to reproduce
Sadly, cannot reproduce.
We have a complex dragTo with force:true.
Test passes on 1.49.1 but fails on 1.50
As this is a complex private dom, not sure how to repro. Some guidelines might help.
Expected behavior
Drag would work
Actual behavior
does not drag. no error is produced.
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: