Skip to content

Commit

Permalink
⬆️ Bump cypress from 9.1.1 to 9.2.0 (#447)
Browse files Browse the repository at this point in the history
* ⬆️ Bump cypress from 9.1.1 to 9.2.0

Bumps [cypress](https://github.com/cypress-io/cypress) from 9.1.1 to 9.2.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](cypress-io/cypress@v9.1.1...v9.2.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* 💚 Fix setting `isInteractive` in test suite

Cypress 9.2 released an update that disallows setting config options at run
time (as they're supposed to be readonly). This breaks out test suite, so to get
around that I just manually set the value (rather than using their setter).

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert DeLuca <robertdeluca19@gmail.com>
  • Loading branch information
dependabot[bot] and Robdel12 authored Jan 4, 2022
1 parent 4d871a8 commit d5a2252
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cypress/integration/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ describe('percySnapshot', () => {
});

afterEach(() => {
Cypress.config('isInteractive', ogInteractive);
Cypress.config().isInteractive = ogInteractive;
});

it('disables snapshots', () => {
Cypress.config('isInteractive', true);
Cypress.config().isInteractive = true;
cy.percySnapshot('Snapshot name');

cy.get('@log').should((spy) => {
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2584,9 +2584,9 @@ crypto-browserify@^3.0.0:
randomfill "^1.0.3"

cypress@^9.0.0:
version "9.1.1"
resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.1.1.tgz#26720ca5a22077cd85f49745616b7a08152a298f"
integrity sha512-yWcYD8SEQ8F3okFbRPqSDj5V0xhrZBT5QRIH+P1J2vYvtEmZ4KGciHE7LCcZZLILOrs7pg4WNCqkj/XRvReQlQ==
version "9.2.0"
resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.2.0.tgz#727c20b4662167890db81d5f6ba615231835b17d"
integrity sha512-Jn26Tprhfzh/a66Sdj9SoaYlnNX6Mjfmj5PHu2a7l3YHXhrgmavM368wjCmgrxC6KHTOv9SpMQGhAJn+upDViA==
dependencies:
"@cypress/request" "^2.88.10"
"@cypress/xvfb" "^1.2.4"
Expand Down

0 comments on commit d5a2252

Please sign in to comment.