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
Button: Adding visual regression tests for focused scenarios #13832
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit d433ef8:
|
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 796868d7faad91ca11150b9c8c5c3efb80e543ac (build) |
"document.getElementsByClassName('testWrapper')[0].classList.add('ms-Fabric--isFocusVisible')", | ||
) | ||
.executeScript("document.getElementsByTagName('button')[0].focus()") | ||
.snapshot('focus', { cropTo: '.testWrapper' }) |
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 don't see new screener screenshots for the focus
step?
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.
I'm blind :). approved!
Hello @khmakoto! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Pull request checklist
$ yarn change
Description of changes
This PR adds visual regression tests for scenarios where the
Button
has been focused.Focus areas to test
(optional)