-
Notifications
You must be signed in to change notification settings - Fork 31
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
[TEST] Fix panning tests on webkit #1237
Conversation
On Ubuntu (not the targeted OS)
|
66e503e
to
58a74bd
Compare
58a74bd
to
93ba5f2
Compare
There is a known issue on Playwright for the panning (dragging & dropping): microsoft/playwright#1094 |
22fdb97
to
f962b47
Compare
Make the issue appear again for investigation # Conflicts: # test/e2e/overlays.rendering.test.ts
10aad55
to
278f502
Compare
test/e2e/overlays.rendering.test.ts
Outdated
@@ -36,21 +36,23 @@ class ImageSnapshotThresholds extends MultiBrowserImageSnapshotThresholds { | |||
'overlays.start.flow.task.gateway', | |||
{ | |||
linux: 0.001, // 0.09368089665046096% | |||
windows: 0.0003, // 0.025623788967854555% | |||
windows: 0.003, // 0.24558800934610941% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't change anything for Chromium on windows. So it's weird to have to change it 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aibcmars Can you verify if you have the same issue on the master branch ?
I updated the version of jest-image-snapshot this morning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes checking on master - I had like over 20 failures on local :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, I think we should fix that problem in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree that this should be done in a dedicated PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reverted all the Tresholds commits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested on windows 10 pro locally and don't get any e2e test errors with the original thresholds. This seems an environment issue.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I like the refactoring to aling zoom and panning test support 👍🏿
No description provided.