-
Notifications
You must be signed in to change notification settings - Fork 0
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
EPIC: add pages e2e tests #188
Labels
good first issue
Good for newcomers
Comments
These tests are testing the full page, and the appropriate components render or not based on API calls. The way nextJS is set up, the api calls technically live outside of the component. In order to test pages properly, these need to be e2e tests (using stubbed responses) instead |
This was referenced Feb 28, 2023
Closed
This was referenced Mar 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
story
add cypress tests to make sure that each page renders correctly
acceptance criteria
<Home />
renders with the appropriate components<Home />
renders in the loading state when applicable<Home />
renders in the error state when applicable<Service />
renders with the appropriate components<Service />
renders in the loading state when applicable<Service />
renders in the error state when applicable<Requests />
renders with the appropriate components e2e test: requests user flow #192<Requests />
renders in the loading state when applicable e2e test: requests user flow #192<Requests />
renders in the error state when applicable e2e test: requests user flow #192<Request />
renders with the appropriate components e2e test: individual request page #218<Request />
renders in the loading state when applicable e2e test: individual request page #218<Request />
renders in the error state when applicable e2e test: individual request page #218<NewRequest />
renders with the appropriate components<NewRequest />
renders in the loading state when applicable<NewRequest />
renders in the error state when applicable<Browse />
renders with the appropriate components Refactor Browse Page tests & add for page #251<Browse />
renders in the loading state when applicable Refactor Browse Page tests & add for page #251<Browse />
renders in the error state when applicable Refactor Browse Page tests & add for page #251resources
The text was updated successfully, but these errors were encountered: