-
-
Notifications
You must be signed in to change notification settings - Fork 122
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: add Modal Snapshot test #399
Conversation
Co-authored-by: Ayomide Onifade <[email protected]> Co-authored-by: Hamzat Oluwabori <[email protected]> Co-authored-by: Quawiyyah Abdulhameed <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
Please contact @GuillermoFloresV if you have further questions about this. Thanks! |
From https://codedayorg.slack.com/archives/C05ENB1VAKT/p1691946767049949
DetailsRun npm run test npm run test shell: /usr/bin/bash -e {0} |
The error occured because UI was updated recently to support toast notifications. we are about to update the snapshot too. |
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.
Thank you for creating this test. I appreciate that you tested the case where the user clicks on the header. I didn't know you could simulate the click through a snapshot test!
Checklist:
Update index.md
)Solving #309
Created a Snapshot testing for the modal component.
Co-authored-by: Ayomide Onifade [email protected]
Co-authored-by: Quawiyyah Abdulhameed [email protected]
Co-authored-by: Hamzat Oluwabori [email protected]