Skip to content

Commit

Permalink
Merge pull request #403 from dhis2/update-cypress-upgrade-docs
Browse files Browse the repository at this point in the history
docs: small changes to upgrade cypress documentation
  • Loading branch information
flaminic authored May 30, 2024
2 parents 3c08364 + eef559e commit f49acb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Here's a short list of thing that need to be updated:
directly. The
[`package.json`](https://github.com/dhis2/aggregate-data-entry-app/blob/master/package.json)
of the Aggregate Data Entry app is a good example.
- Cypress needs to be upgraded to version ^12.7.0
- Upgrade cypress to the lastest version (must be `>=12.7.0`)
- Cypress now uses `cypress.config.js` instead of `cypress.json`
- If you're using cucumber, the `cypress-cucumber-preprocessor` package has to
be replaced with `@badeball/cypress-cucumber-preprocessor`
Expand All @@ -32,3 +32,4 @@ Here's a short list of thing that need to be updated:
you were doing end-to-end tests; For component testing, please refer to the
official documentation)
- The `cypress/support/index.js` should be renamed to `cypress/support/e2e.js`
- In case you are using [Cypress GitHub Action](https://github.com/marketplace/actions/cypress-io), make sure you are on version 5 or newer.

0 comments on commit f49acb7

Please sign in to comment.