-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
CDK DragDrop Regression between 7.0.0-beta.2 and 7.0.0-rc.2: Protractor tests stopped working #13642
Comments
My guess is that it was caused by #13152. Depending on how the |
Thanks for your quick response. Do you have any suggestion how we can change the e2e test so it works again? |
I don't know how |
I tried reducing the treshold to 0, unfortunately it does not have any effect. I will look into implementing the dragAndDrop sequence myself. |
It works now! |
Closing the issue since the CDK works as expected. |
Thanks for your help! |
Any chance that closing this could be reconsidered? It seems odd to me that the CDK and protractor (both first party Angular tools) would be at odds with the definition of drag and drop. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
After upgrading @angular/cdk from 7.0.0-beta.2 to 7.0.0-rc.1 (issue still exists in rc.2) our Protractor e2e tests stopped working.
What is the expected behavior?
We can write an e2e test with protractor to verify Drag and Drop functionality.
What is the current behavior?
The e2e test works when running with 7.0.0-beta.2 but fails to drag and drop with 7.0.0-rc.2.
What are the steps to reproduce?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
Please note that dragging and dropping is working in both version when you just use the app manually.
We also tried running e2e tests using cypress in our own app. There we see the exact same behavior: it works with beta.2 but does not work with rc.2.
The text was updated successfully, but these errors were encountered: