-
Notifications
You must be signed in to change notification settings - Fork 215
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
test(toast): Write test for Toasts #584
Conversation
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
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.
Solid work, @mannycarrera4! I had a few comments and questions, but nothing that would hold this up. The only thing I might change is adding a data-testid
on the button instead of using an aria-label for the reasons you mentioned.
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 🎉
One last little fix then feel free to merge
Co-Authored-By: Alex Nicholls <anicholls3@gmail.com>
Summary
We hadn't written test for Toast yet. While writing some test, I noticed that adding some accessibility to the toast helped with the test. There's still some accessibility to add to the toast.