-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Clean up legacy test framework #5655
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
Conversation
This reverts commit 76f4d6e.
| customDiffConfig: { | ||
| threshold: 0.06 | ||
| }, | ||
| noColors: true |
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.
Why no colors? I had one snapshot without theme applied because of this 🤣
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.
noColors: Removes coloring from console output, useful if storing the results in a file
It's about ANSI color. 🤣
Changelog Entry
Removed
html2test harness or simple unit testshtml(html1) test harness are all migrated tohtml2Description
As we migrated all tests to
html2test infrastructure, this PR will clean up test harness for legacy andhtml1tests.Design
Specific Changes
jest.config.jsonintohtml.setup/jest.config.jsonandunit.setup/jest.config.jsonsetupintohtml.setupandunit.setupLOCALIZATION.mdanddoc/LOCALIZATION.mdCHANGELOG.mdReview Checklist
Accessibility reviewed (tab order, content readability, alt text, color contrast)Browser and platform compatibilities reviewedCSS styles reviewed (minimal rules, noz-index)Internationalization reviewed (strings, unit formatting)package.jsonandpackage-lock.jsonreviewedSecurity reviewed (no data URIs, check for nonce leak)