amycommits / civic_hacking_hub

A place where people can find nonprofits to code for.
2 stars 13 forks source link

Implement Cypress #6

Closed amycommits closed 3 years ago

amycommits commented 4 years ago

The problem: In order to test behavior, I would like to use Cypress.

How to implement? https://docs.cypress.io/guides/getting-started/installing-cypress#Installing npm install cypress --save-dev

npx cypress open ^ should initialize the cypress folder. Delete the default tests, and just create a simple hello world test that verifies that the landing page loads. More tests issues will be created after the initial setup.

If you have questions, feel free to ask!

mcruzdev commented 3 years ago

I can do it @duaimei 🚀