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

Cypress/Unit Test Suite (5) #28

Open
5 tasks done
peterdudfield opened this issue May 9, 2022 · 3 comments
Open
5 tasks done

Cypress/Unit Test Suite (5) #28

peterdudfield opened this issue May 9, 2022 · 3 comments
Assignees

Comments

@peterdudfield
Copy link
Contributor

peterdudfield commented May 9, 2022

First: decide which testing tools/frameworks to use.

Add Cypress tests for the MVP

  • This should check (with code) all the major features dont produce an error
  • This doesn't include UATs
  • Would be good to > 90% code coverage (to be discussed)
  • Run every push to any branch
  • Setup cypress CI with Github Actions
  • Connect cypress.io account (Peter to setup OCF account)

Further enhancement:

  • Setup visual diff test, which takes screenshot of app and shows diff of changes. This is to catch visual regression bugs.

tasks:

  • complete dummy api for testing
  • setup cypress test with auth0 (preferably bypass auth0 with no login)
  • write test scenarios / implement tests in cypress
  • trigger cypress on updates
  • write unit test for helper functions
@peterdudfield
Copy link
Contributor Author

@dctanner

We're much more familiar with Cypress so would propose that. If you setup an OCF [cypress.io](http://cypress.io/) account it also gives you stats for all the test runs.

@peterdudfield
Copy link
Contributor Author

That sounds good @dctanner , ill add it as a task for me to setup an account

@dctanner
Copy link
Contributor

dctanner commented May 9, 2022

👍 I'll edit the story.

@dctanner dctanner changed the title selenium Tests Cypress Test Suite May 9, 2022
@dctanner dctanner added this to the app-v2-prototype milestone May 13, 2022
@dctanner dctanner changed the title Cypress Test Suite Cypress/Unit Test Suite May 17, 2022
@dctanner dctanner changed the title Cypress/Unit Test Suite Cypress/Unit Test Suite (5) May 18, 2022
@dlinah dlinah mentioned this issue Jul 10, 2022
5 tasks
@dlinah dlinah self-assigned this Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants