-
Notifications
You must be signed in to change notification settings - Fork 2
CPLAT-13506 Add user-events JS Interop #6
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
+ As a sort of “test” that the matchers are public.
+ To have a consistent, familiar API for Dart users
Feedback addressed in 115df5e
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.
+1
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.
Some comments, but nothing major.
I'm super excited to use these APIs to write tests!!
Feedback addressed in 875435c
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.
+10
@greglittlefield-wf your review was submitted after a new commit (0b71921) was pushed, but is being applied to 875435c. Please review the latest commit and resubmit your approval. |
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.
+10
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.
Thanks for addressing that last bit even though you didn't have to!
+10
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.
+1
@Workiva/release-management-pp |
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.
+1 from RM
This PR wraps all the
userEvent
utilities and exposes them viaUserEvent
:UserEvent.click
UserEvent.dblClick
UserEvent.type
UserEvent.typeWithDelay
(needs to be a separate method to return aFuture
)UserEvent.keyboard
UserEvent.keyboardWithDelay
(needs to be a separate method to return aFuture
)UserEvent.upload
UserEvent.clear
UserEvent.selectOptions
UserEvent.deselectOptions
UserEvent.tab
UserEvent.hover
UserEvent.unhover
UserEvent.paste
QA Instructions
dhttpd <path to dartdoc directory>
and verify the docs look as expected.