phlask / phlask-map

Code behind the Phlask Web Map
34 stars 33 forks source link

Write unit tests for our crowdsourcing forms #199

Open gcardonag opened 2 years ago

gcardonag commented 2 years ago

Is your feature request related to a problem? Please describe. As a PHLASK developer, I would like to ensure changes to the crowdsourcing components do not affect the ability for users to successfully submit taps of any type.

Describe the solution you'd like In order to verify this for all commits in our repository, we would like to add a new test called crowdsourcing-form.js under this location: https://github.com/phlask/phlask-map/tree/develop/cypress/integration

For guidance on how to write the test, see:

Describe alternatives you've considered N/A

Additional context N/A

mandyshri101 commented 8 months ago

Any idea how can I run the cypress run command here ? I am trying to run the existing cypress tests by running cypress run command. It is saying this error: Could not start Xvfb. Install XVFB and run Cypress again