-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add component tests #39
Comments
Hello, I would like to take on this issue, if possible. |
Sure, since multiple people can work on this master issue, it would be awesome if you could let us know which component you would like to add tests for by leaving a comment. |
I could start with the FilterDropdown and Search components. |
Hello, I would like to update Header and Footer, and create tests for tooltip |
@vaibhavsingh97 I will work on LogView |
I will take ChipWithIcon |
I have opened a PR for AlertBanner component. |
I made a PR #56 for the FilePathView component |
is AlertBanner Component is still tested |
Hi @vaibhavsingh97 i am doing the FilterDropdown component test |
Created Draft PR #58 for ErrorFallBack Component, still need to add more test functionalities but it's a good start to the test file |
Added test Timer Component #63 #63 (comment) fix for #39 |
added test search component |
added test for separator and screenshot components |
Description
Currently, only
Header
andFooter
have component tests. However, these tests are naive. We need to update them and create new tests for all other components.TODO
Add tests for these component: https://github.com/nightwatchjs/html-reporter/tree/main/src/components
What do sample tests look like?
Let's see the Header component
Here, we can assert the presence and visibility of the Nightwatch.js logo. We can also verify that the "Test Report", date, and time are being rendered.
Reference
https://nightwatchjs.org/guide/component-testing/write-jsx-react-tests.html
The text was updated successfully, but these errors were encountered: