Skip to content
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 pages e2e tests: <Home /> #255

Closed
8 tasks done
DiemBTran opened this issue Mar 6, 2023 · 1 comment
Closed
8 tasks done

Add pages e2e tests: <Home /> #255

DiemBTran opened this issue Mar 6, 2023 · 1 comment
Assignees

Comments

@DiemBTran
Copy link
Contributor

DiemBTran commented Mar 6, 2023

Story

refs #188. Add Cypress tests to make sure that each page renders correctly

Expected Behavior After Changes

  • <Home /> renders with the appropriate components
    • <Home /> renders in the loading state when applicable
    • <Home /> renders in the error state when applicable
    • <Home /> page fully loads and each of the following components render:
      • About text
      • Search bar
      • Featured services card (the real ones, not the loading ones)
    • The <Home /> page renders the same components whether a user is logged in or not, so I did not test for logged in/logged out

Screenshots

"featured services list is loading" test passes

webstore 2023-03-10 at 10 54 10 AM

"error while making a request to the api" test passes

webstore 2023-03-10 at 10 54 34 AM

"home page components are loading successfully, & should show the search bar/about text/featured services cards." test passes

webstore 2023-03-13 at 12 03 48 PM

@DiemBTran DiemBTran changed the title Add pages e2e tests: home Add pages e2e tests: <Home /> Mar 6, 2023
@DiemBTran
Copy link
Contributor Author

DiemBTran commented Mar 13, 2023

Test was added to webstore and passes. Applicable data-cywere added to webstore-component-library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant