-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat(a11y-testing): add package #14797
Conversation
BehaviorRule.root() | ||
.forProps({ checked: undefined, defaultChecked: true }) | ||
.afterEvent( | ||
'onClick', |
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.
"onClick"
as name of the handler is actually required only for the hooks tests. If we decide to go with only components test, this can safely be removed, as in the ComponentTestFacade
we are just dispatching the event which is currently second argument.
@@ -0,0 +1,8 @@ | |||
{ |
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 couldn't commit the merge changes if I didn't replace tslint.json
with .eslint.json
😕
.doesNotHaveAttribute('aria-pressed') | ||
.description('by default'), | ||
BehaviorRule.root() | ||
.afterEvent( |
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.
could you also add afterClick(), so that we do not have to create the mouse event in every test?
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.
yeah that makes sense, it can be extended later for other handlers we may add 👍
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Potential regressions comparing to master
Perf comparison
Perf tests with no regressions
|
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 ce5794f:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 30205c7e182d6fd7f852b6721c55a38917785cf4 (build) |
Have been added in #15040. Closing for housekeeping 🏡 |
Pull request checklist
$ yarn change
Description of changes
(give an overview)
Focus areas to test
(optional)