Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.

Update to cypress 11.2.0 #15

Closed
wants to merge 1 commit into from
Closed

Update to cypress 11.2.0 #15

wants to merge 1 commit into from

Conversation

MikeMcC399
Copy link

@MikeMcC399 MikeMcC399 commented Feb 7, 2023

This PR upgrades Cypress to 11.2.0 and it resolves issue #11 "Deprecation warnings in test-app workflow log". It supersedes PR #12. If this PR is not merged, then the workflow will fail on GitHub after May 31, 2023.

Action updates

In .github/workflows/test-app.yml it updates:

  • actions/checkout@v2 to @v3
  • cypress-io/github-action@v2 to @v5

to resolve deprecation warnings.

Cypress update and migration

The tests are not yet compatible with Cypress 12.x (see issue #14).

Other dependencies

Dependencies in package.json are updated to the latest possible versions without causing breaking changes.

  • rollup is limited to 2.79.1 which is the latest version before the breaking change of 3.0.0

Verification

Local test

Execute:

yarn install
npm run build
npm start

In a separate terminal:

npx run cypress

Confirm 28 Tests, 28 Passing, - Failing.

GitHub test

  1. Fork repository
  2. Push to fork
  3. View Actions log and ensure that Cypress has run successfully with 28 passing and - failing. There should be no deprecation warnings from GitHub.

Update Cypress to 11.2.0
Update actions
Update dependencies to latest versions without breaking changes
rollup is updated to latest 2.* version
Update .gitignore
Execute Cypress migration wizard
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant