-
Notifications
You must be signed in to change notification settings - Fork 179
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
Improve E2E Tests & Stability #12439
Conversation
Browser support has much improved this year, with Safari adding support in version 15.4 in March 2022. Safari 15.4 ships with the iOS and iPadOS 15.4 and macOS 12.3.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
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.
Approving
Would like to see a small summary per
But that's not a blocker for merging.
packages/story-editor/src/components/library/panes/pageTemplates/defaultPageTemplate.js
Outdated
Show resolved
Hide resolved
On Percy, @miina pointed out some missing focus rings in some of the screenshots. While I can reproduce some of these situations, I can't reproduce all of them. Overall I do think that the focus is working as expected.
I think the polyfill was just adding the focus more often than Chrome does. |
I'm also not able to reproduce the remaining differences currently in Percy when testing -- in the editor, the focus is showed correctly. In Percy screenshots, it's missing in some places for some reason, e.g. here. Any thoughts why it would differ in Percy? In the editor, the focus seems to work correctly 👍 |
Is this Karma failure related? |
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.
Nice work, closes quite a lot of issues 😄
I'd assume this is simply because of how Percy works. It takes the page's current HTML + CSS, loads that in a browser and takes screenshots. This way, browser-supplied
Looks like a flake. Restarted the test and it passed now. |
Context
Summary
Relevant Technical Choices
focus-visible
polyfillBrowser support has much improved this year, with Safari adding support in version 15.4 in March 2022.
Safari 15.4 ships with the iOS and iPadOS 15.4 and macOS 12.3.
See Media Recording: Load
@mediapipe/selfie_segmentation
async #12383retryTimes
to every e2e testretryTimes
also to unit tests when using AMP validationpackages/element-library/src/media/util.js
whereundefined
was being loaded as a CSS background image when there was no poster, causing some tests to fail and logs to be pollutedTo-do
User-facing changes
Testing Instructions
This PR can be tested by following these steps:
Reviews
Does this PR have a security-related impact?
No
Does this PR change what data or activity we track or use?
No
Does this PR have a legal-related impact?
No
Checklist
Type: XYZ
label to the PRFixes #12419
Fixes #7107
Fixes #12383
Fixes #12025
Fixes #11994
Fixes #11976
Fixes #11361
Fixes #11362
Fixes #11992
Fixes #11991
Fixes #11981
Fixes #11990
Fixes #6879
Fixes #11978
Fixes #9636
Fixes #11990
Fixes #11931
Fixes #11993
Fixes #9985
Fixes #11975
Fixes #6237
Fixes #12023
Fixes #11989
Fixes #11930
Fixes #9152
Fixes #11977
Fixes #7481
Fixes #7107
Fixes #11959
Fixes #8232
Fixes #9619
Fixes #11970