Skip to content

Commit

Permalink
chore(deps): update dependency cypress to v9 (#85)
Browse files Browse the repository at this point in the history
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [cypress](https://togithub.com/cypress-io/cypress) | [`^7.6.0` -> `^9.0.0`](https://renovatebot.com/diffs/npm/cypress/7.6.0/9.0.0) | [![age](https://badges.renovateapi.com/packages/npm/cypress/9.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/cypress/9.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/cypress/9.0.0/compatibility-slim/7.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/cypress/9.0.0/confidence-slim/7.6.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>cypress-io/cypress</summary>

### [`v9.0.0`](https://togithub.com/cypress-io/cypress/releases/v9.0.0)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.7.0...v9.0.0)

*Released 11/10/2021*

**Breaking Changes:**

-   The `nodeVersion` configuration option now defaults to `system`. The behavior
    of the `system` option has changed to always use the Node.js binary/version
    that launched Cypress. If Cypress was not launched via the terminal, Cypress
    will use the `bundled` Node.js version. This could change the behavior of code
    within your `pluginsFile` since it may be run in your `system` Node.js
    version. Addresses
    [#&#8203;18684](https://togithub.com/cypress-io/cypress/issues/18684).
-   Windows 32-bit is no longer supported in Cypress. Addresses
    [#&#8203;17962](https://togithub.com/cypress-io/cypress/issues/17962).
-   An error will now be thrown if an invalid value is passed to `Cypress.config`.
    Previously invalid values were ignored and could cause unexpected behavior.
    Addresses [#&#8203;18589](https://togithub.com/cypress-io/cypress/pull/18589).
-   `cy.contains()` no longer yields the `<body>` element when it matches the
    content of `<script>` or `<style>` tags. Addresses
    [#&#8203;14861](https://togithub.com/cypress-io/cypress/issues/14861).
-   Attempting to add an existing built-in Cypress command using
    `Cypress.Commands.add()` will now throw an error, indicating that
    `Cypress.Commands.overwrite()` should be used instead to overwrite the
    behavior of existing commands. Addresses
    [#&#8203;18572](https://togithub.com/cypress-io/cypress/issues/18572).
-   Custom command implementations are now typed based on the declared custom
    chainables. Addresses
    [#&#8203;17496](https://togithub.com/cypress-io/cypress/issues/17496).
-   The bundled Node.js version was upgraded from `14.17.0` to `16.5.0`. This
    could change the behavior of code within the `pluginsFile` when using the
    bundled Node.js version of Cypress. Addressed in
    [#&#8203;18317](https://togithub.com/cypress-io/cypress/pull/18317).

**Deprecations:**

-   The `nodeVersion` configuration option has been deprecated and will be removed
    in a future release.

**Features:**

-   When `null` is passed as the encoding to `cy.readFile()` or `cy.fixture()`,
    the file is treated as binary and read as a Buffer. Similarly, `null` passed
    as the encoding to `cy.writeFile()` allows direct writing of buffers. If the
    encoding is unspecified, the default remains `utf8`, matching the current
    behavior. Addresses
    [#&#8203;18534](https://togithub.com/cypress-io/cypress/issues/18534).

**Bugfixes:**

-   Sticky elements within a fixed container will now be able to be properly
    scrolled to during action commands. Fixes
    [#&#8203;4233](https://togithub.com/cypress-io/cypress/issues/4233).
-   `document.referrer` will now correctly reflect the correct value from the
    application under test after `cy.visit()`. Fixes
    [#&#8203;4295](https://togithub.com/cypress-io/cypress/issues/4295).

**Dependencies:**

-   Upgraded Chrome browser version used during `cypress run` and when selecting
    Electron browser in `cypress open` from `91` to `94`. Addressed in
    [#&#8203;15292](https://togithub.com/cypress-io/cypress/pull/18317).
-   Upgraded bundled Node.js version from `14.17.0` to `16.5.0`. Addressed in
    [#&#8203;15292](https://togithub.com/cypress-io/cypress/pull/18317).
-   Upgraded `electron` from `14.1.0` to `15.2.0`. Addressed in
    [#&#8203;15292](https://togithub.com/cypress-io/cypress/pull/18317).

### [`v8.7.0`](https://togithub.com/cypress-io/cypress/releases/v8.7.0)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.6.0...v8.7.0)

*Released 10/25/2021*

**Features:**

-   There are changes to how "slow" tests are determined and displayed in Cypress.
    Addresses [#&#8203;18496](https://togithub.com/cypress-io/cypress/pull/18496).
    -   Added a [`slowTestThreshold`](https://docs.cypress.io/guides/references/configuration#Timeouts)
        configuration option to customize when tests are considered "slow" during
        `cypress run`. A test that runs slower than the given threshold will display
        in orange text in the default 'spec' reporter. This configuration can be set
        in your Cypress config file or via specific
        [test configuration](https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Test-Configuration).
    -   The default slow test threshold was changed from 75ms (Mocha's default) to
        10000ms for e2e tests and 250ms for component tests. To restore the old
        behavior, you can add `"slowTestThreshold": 75` to your Cypress config file.
    -   All tests will show the time the test ran in milliseconds during
        `cypress run` with the default 'spec' reporter.
-   Users can pass an `overwrite: true` option to `Cypress.Screenshot.defaults` to
    change default behavior to overwrite existing screenshots without having to
    set `overwrite` for each `cy.screenshot()` command. Addresses
    [#&#8203;7955](https://togithub.com/cypress-io/cypress/issues/7955).

**Bugfixes:**

-   Fixed a regression introduced in [8.6.0](https://docs.cypress.io/guides/references/changelog#&#8203;8-6-0) where videos recorded in
    Electron to the Dashboard were not playable in the Firefox or Safari browser
    and were not compatible with QuickTime player in MacOS.
-   Fixed a regression introduced in [8.6.0](https://docs.cypress.io/guides/references/changelog#&#8203;8-6-0) so that the warning about the
    `projectRoot` directory not being writeable will now display correctly. Fixes
    [#&#8203;18485](https://togithub.com/cypress-io/cypress/issues/18485).
-   Improved the error message when running Cypress without non-root permissions.
    Fixes [#&#8203;18445](https://togithub.com/cypress-io/cypress/issues/18445).
-   An error now throws when invalid options are passed to the `selectorPriority`
    configuration option of `Cypress.SelectorPlayground.defaults`. Valid values
    are `data-*`, `id`, `class`, `tag`, `attribute`, or `nth-child`. Fixes
    [#&#8203;7745](https://togithub.com/cypress-io/cypress/issues/7745).

**Dependency Updates:**

-   Pinned resolution of `ua-parser-js` to `0.7.24` to avoid dependency resolution
    to the compromised package versions. Please read the
    [security advisory](https://togithub.com/advisories/GHSA-pjwm-rvh2-c87w) and
    take actions advised as soon as possible. Addressed in
    [#&#8203;18611](https://togithub.com/cypress-io/cypress/pull/18611)

### [`v8.6.0`](https://togithub.com/cypress-io/cypress/releases/v8.6.0)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.5.0...v8.6.0)

*Released 10/11/2021*

**Features:**

-   `cy.screenshot()` now accepts `overwrite: true` as an option to overwrite
    existing screenshots with the same file name. Addresses
    [#&#8203;7955](https://togithub.com/cypress-io/cypress/issues/7955).
-   `cy.select([])` can now be used to clear any selected options in a multi-value
    select. Addresses [#&#8203;4318](https://togithub.com/cypress-io/cypress/issues/4318).
-   Using `cy.pause()` when using `cypress run --headed --no-exit` will now pause
    a test. Addresses [#&#8203;4044](https://togithub.com/cypress-io/cypress/issues/4044).

**Bugfixes:**

-   Fixed a regression introduced in [8.2.0](https://docs.cypress.io/guides/references/changelog#&#8203;8-2-0) where certain XMLHttpRequests
    would not display their response bodies in the DevTools Console when clicked.
    Fixes [#&#8203;17656](https://togithub.com/cypress-io/cypress/issues/17656).
-   Fixed a regression in [8.3.0](https://docs.cypress.io/guides/references/changelog#&#8203;8-3-0) where capturing videos in Chrome
    versions earlier than 89 would result in choppy videos and skipped frames.
    Fixes [#&#8203;18021](https://togithub.com/cypress-io/cypress/issues/18021).
-   Cypress displays the correct error when certain custom error types are thrown
    within a test. Fixes
    [#&#8203;18259](https://togithub.com/cypress-io/cypress/issues/18259).
-   The Cypress App will no longer crash when passed a `--spec: {}` from the CLI
    and instead error when passed an invalid object argument. Fixes
    [#&#8203;3957](https://togithub.com/cypress-io/cypress/issues/3957).
-   Logging a plain object no longer results in the error "Cannot convert object
    to primitive value". Fixes [#&#8203;18143](https://togithub.com/cypress-io/cypress/issues/18143).

**Misc:**

-   Updated the `cy.request()` error message when conflicting `failOnStatusCode`
    and `retryOnStatusCodeFailure` options are passed to be clearer. Fixes
    [#&#8203;18271](https://togithub.com/cypress-io/cypress/issues/18271).

**Dependency Updates:**

-   Upgraded the Chromium browser version used during `cypress run` and when
    selecting Electron browser in `cypress open` from `91.0.4472.164` to
    `93.0.4577.58`.
-   Upgraded `electron` from `13.2.0` to `14.1.0`. Addressed in
    [#&#8203;18318](https://togithub.com/cypress-io/cypress/issues/18318) and
    [#&#8203;18384](https://togithub.com/cypress-io/cypress/issues/18384).

### [`v8.5.0`](https://togithub.com/cypress-io/cypress/releases/v8.5.0)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.4.1...v8.5.0)

*Released 09/27/2021*

**Features:**

-   You can now select an option by index within the
    [`.select()`](https://docs.cypress.io/api/commands/select) command. Addresses
    [#&#8203;757](https://togithub.com/cypress-io/cypress/issues/757).
-   Cypress now captures the repository URL on Drone CI. Addresses
    [#&#8203;18210](https://togithub.com/cypress-io/cypress/issues/18210).

**Bugfixes:**

-   The download of Cypress now respects the `NO_PROXY` environment variable when
    one is set. Fixes
    [#&#8203;17702](https://togithub.com/cypress-io/cypress/issues/17702).
-   When using a custom config file and setting it up to record to the Dashboard,
    Cypress now writes the `projectId` in the custom config file instead of
    `cypress.json`. Fixes
    [#&#8203;5747](https://togithub.com/cypress-io/cypress/issues/5747).

**Misc:**

-   Windows 32-bit has been deprecated and support will be removed in a later
    release. A deprecation warning will now display when using Cypress in a
    Windows 32-bit OS. See
    [#&#8203;17962](https://togithub.com/cypress-io/cypress/issues/17962) for more detail.
    Addresses [#&#8203;18094](https://togithub.com/cypress-io/cypress/issues/18094).
-   Improved the error messages when an invalid argument type is passed to the [`.select()`](https://docs.cypress.io/api/commands/select) command. Addressed in [#&#8203;18234](https://togithub.com/cypress-io/cypress/pull/18234).

### [`v8.4.1`](https://togithub.com/cypress-io/cypress/releases/v8.4.1)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.4.0...v8.4.1)

*Released 09/17/2021*

**Bugfixes:**

-   Cypress will no longer crash when setting up a project to record to the
    Dashboard or viewing the runs or record key for a previously set up project.
    Fixes [#&#8203;18129](https://togithub.com/cypress-io/cypress/issues/18129).
-   The branch collected for Drone CI now correctly reflects the source PR branch
    for showing in the Cypress Dashboard. Fixes
    [#&#8203;17860](https://togithub.com/cypress-io/cypress/issues/17860).

### [`v8.4.0`](https://togithub.com/cypress-io/cypress/releases/v8.4.0)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.3.1...v8.4.0)

*Released 09/13/2021*

**Features:**

-   When the URL contains non-ASCII characters, you can use the new `decode`
    option of `cy.url()` to decode it. Addresses
    [#&#8203;17399](https://togithub.com/cypress-io/cypress/issues/17399).

**Bugfixes:**

-   Cypress now better handles situations where the extension was installed in a
    read-only location. Fixes
    [#&#8203;3852](https://togithub.com/cypress-io/cypress/issues/3852).
-   A clearer error message is now thrown for `.check()` or `.uncheck()` when
    there are no matching value attributes found.
    Fixes[#&#8203;7379](https://togithub.com/cypress-io/cypress/issues/7379).
-   Hooks will no longer rerun on unrelated tests in some situations after a
    domain navigation. Fixes
    [#&#8203;17705](https://togithub.com/cypress-io/cypress/issues/17705).
-   `clientCertificate` types have been added for the Cypress configuration. Fixes
    [#&#8203;17799](https://togithub.com/cypress-io/cypress/issues/17799).

### [`v8.3.1`](https://togithub.com/cypress-io/cypress/releases/v8.3.1)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.3.0...v8.3.1)

*Released 08/27/2021*

**Performance:**

-   Projects will now open much faster on MacOS Big Sur with improved browser
    detection performance. Fixes
    [#&#8203;17773](https://togithub.com/cypress-io/cypress/issues/17773).

**Bugfixes:**

-   Fixed a regression in [8.3.0](https://docs.cypress.io/guides/references/changelog#&#8203;8-3-0) where the
    correct exit code would not be issued during `cypress run-ct` while running in
    the Electron browser. Fixes
    [#&#8203;17752](https://togithub.com/cypress-io/cypress/issues/17752) and
    [#&#8203;17885](https://togithub.com/cypress-io/cypress/issues/17885).
-   Fixed a regression in [8.3.0](https://docs.cypress.io/guides/references/changelog#&#8203;8-3-0) where
    Cypress would cause a `SIGSEGV` error on Mac when closing the Cypress app
    opened via `cypress open`. Fixes
    [#&#8203;17766](https://togithub.com/cypress-io/cypress/issues/17766).
-   The `beforeinput` event now correctly fires in Firefox during keyboard events.
    Fixes [#&#8203;17583](https://togithub.com/cypress-io/cypress/issues/17583).

**Misc:**

-   `cy.document()` typings now allow for the `timeout` option. Fixes
    [#&#8203;17695](https://togithub.com/cypress-io/cypress/issues/17695).
-   `cy.title()` typings now allow for the `timeout` option. Fixes
    [#&#8203;17781](https://togithub.com/cypress-io/cypress/issues/17781)

**Dependency Updates:**

-   Upgraded `electron` from `13.1.7` to `13.2.0`. Addressed in
    [#&#8203;17772](https://togithub.com/cypress-io/cypress/pull/17772).
-   Upgraded `@cypress/request` from `2.88.5` to `2.88.6`. Addresses
    [#&#8203;17622](https://togithub.com/cypress-io/cypress/pull/17622).

### [`v8.3.0`](https://togithub.com/cypress-io/cypress/releases/v8.3.0)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.2.0...v8.3.0)

*Released 08/16/2021*

**Features:**

-   The instructions for recording a run have been updated for some users.
    Addressed in [#&#8203;17317](https://togithub.com/cypress-io/cypress/issues/17317).

**Performance:**

-   We addressed an issue that increased CPU usage during video recording in
    Chrome 89+/Electron 12+. Fixes
    [#&#8203;16152](https://togithub.com/cypress-io/cypress/issues/16152).
-   Fixed a regression in [7.2.0](https://docs.cypress.io/guides/references/changelog#&#8203;7-2-0) that would
    cause `cy.visit()` to take longer to fire its load event in some
    circumstances. Fixes
    [#&#8203;16671](https://togithub.com/cypress-io/cypress/issues/16671).

**Bugfixes:**

-   Fixed an issue that could cause intermittent OpenSSL errors when the local CA
    cert cache becomes corrupted. Fixes
    [#&#8203;8705](https://togithub.com/cypress-io/cypress/issues/8705).
-   Fixed a regression in [7.2.0](https://docs.cypress.io/guides/references/changelog#&#8203;7-2-0) causing the
    menu bar of Cypress to not be clickable in Windows. Fixes
    [#&#8203;16323](https://togithub.com/cypress-io/cypress/issues/16323).
-   `res.send` of `cy.intercept()` will no longer override JSON-related content
    types. Fixes [#&#8203;17084](https://togithub.com/cypress-io/cypress/issues/17084).
-   The `times` option of `cy.intercept` now works properly with `req.reply`.
    Fixes [#&#8203;17139](https://togithub.com/cypress-io/cypress/issues/17139).
-   Fixed a regression in [8.0.0](https://docs.cypress.io/guides/references/changelog#&#8203;8-0-0) where
    Cypress would always warn that `chromeWebSecurity` is set to "false" when it
    wasn't. Fixes [#&#8203;17614](https://togithub.com/cypress-io/cypress/issues/17614).

**Dependency Updates:**

-   Upgraded Chrome browser version used during `cypress run` and when selecting
    Electron browser in `cypress open` from `89` to `91`. Addressed in
    [#&#8203;17408](https://togithub.com/cypress-io/cypress/pull/17408).
-   Upgraded bundled Node.js version from `14.6.0` to `14.17.0`. Addressed in
    [#&#8203;17408](https://togithub.com/cypress-io/cypress/pull/17408).
-   Upgraded `electron` from `12.0.0-beta.14` to `13.1.7`. Addressed in
    [#&#8203;17408](https://togithub.com/cypress-io/cypress/pull/17408).
-   Upgraded `url-parse` from `1.5.1` to `1.5.2`. Addressed in
    [#&#8203;17719](https://togithub.com/cypress-io/cypress/pull/17719).

### [`v8.2.0`](https://togithub.com/cypress-io/cypress/releases/v8.2.0)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.1.0...v8.2.0)

*Released 08/04/2021*

**Features:**

-   You can now cache and restore [cookies](https://docs.cypress.io/api/cypress-api/cookies),
    [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage),
    and
    [`sessionStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)
    in order to reduce test setup times by using
    [`cy.session()`](/api/commands/session). The `session` API is experimental and
    can be enabled by setting the
    [`experimentalSessionSupport`](/guides/references/experiments) flag to `true`
    in your Cypress config. See
    [our blog](https://cypress.io/blog/2021/08/03/authenticate-faster-in-tests-cy-session-command/)
    and the [`cy.session()`](/api/commands/session) doc for more detail.
-   The logging experience around HTTP requests has been updated.
    -   `fetch` requests are always displayed in the Command Log, regardless of if
        `experimentalFetchSupport` is enabled.
    -   Duplicate logs for XHRs, fetches, and `cy.intercept()` have been
        consolidated - Fixes
        [#&#8203;14843](https://togithub.com/cypress-io/cypress/issues/14843).
    -   The user experience around the information displayed in the console when
        clicking on `cy.intercept()` request logs has been improved.
    -   Request logs now indicate if a request has gone to the origin or if it has
        been stubbed by displaying a filled or empty circle in the request log.
    -   Request logs now display information about if the request and/or response
        was modified by a `cy.intercept()`.
    -   The tooltip displayed when mousing over a request log now displays
        information about the matched `cy.intercept()`/`cy.route()` rules.
    -   Fixed an issue where pending request logs were not ended between tests.
        Fixes [#&#8203;14655](https://togithub.com/cypress-io/cypress/issues/14655).
-   There's now a `Cypress.currentTest` property to access name the currently
    executing test via `Cypress.currentTest.title` and
    `Cypress.currentTest.titlePath`. Addresses
    [#&#8203;2972](https://togithub.com/cypress-io/cypress/issues/2972).

**Bugfixes:**

-   A "removing cookie failed" error will no longer throw when cookies are cleared
    in Firefox. Fixes [#&#8203;6375](https://togithub.com/cypress-io/cypress/issues/6375).
-   Cypress no longer throws the error "cannot read property split of undefined"
    in certain circumstances when application errors are thrown. Fixes
    [#&#8203;17378](https://togithub.com/cypress-io/cypress/issues/17378).
-   Cypress now properly runs the final test when nested in a suite with a
    `before` hook. Fixes
    [#&#8203;9026](https://togithub.com/cypress-io/cypress/issues/9026).
-   Fixed a regression in [8.0.0](https://docs.cypress.io/guides/references/changelog#&#8203;8-0-0) where an
    error would longer throw when there is no `/etc/passwd` entry for the current
    user, such as in some Docker and GitHub Action setups. Fixes
    [#&#8203;17415](https://togithub.com/cypress-io/cypress/issues/17415).
-   Cypress now throws if a function is incorrectly passed as the second argument
    to `cy.wait()`. Fixes
    [#&#8203;17436](https://togithub.com/cypress-io/cypress/issues/17436).

### [`v8.1.0`](https://togithub.com/cypress-io/cypress/releases/v8.1.0)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v8.0.0...v8.1.0)

*Released 07/29/2021*

**Features:**

-   When using `experimentalStudio`, you can now generate assertions in
    [Cypress Studio](https://docs.cypress.io/guides/core-concepts/cypress-studio) by right clicking on an
    element. Addressed in
    [#&#8203;16295](https://togithub.com/cypress-io/cypress/pull/16295).
-   When searching specs in the Test Runner during end-to-end testing, characters
    that are not letters will be ignored and don't have to be typed. Addressed in
    [#&#8203;17346](https://togithub.com/cypress-io/cypress/issues/17346).

**Performance:**

-   The Test Runner's performance has been improved when running a large number of
    commands within a single test. Fixes
    [#&#8203;6783](https://togithub.com/cypress-io/cypress/issues/6783).

**Bugfixes:**

-   Add Yarn v2 pnp support to our default webpack processor. Fixes
    [#&#8203;8008](https://togithub.com/cypress-io/cypress/issues/8008) and
    [#&#8203;16111](https://togithub.com/cypress-io/cypress/issues/16111).
-   When running Cypress in global mode, an error will no longer be thrown when
    trying to add a new project to the Dashboard. Addressed in
    [#&#8203;17514](https://togithub.com/cypress-io/cypress/pull/17514).
-   The Test Runner will no longer crash in some instances when creating a new
    spec file from the GUI.
    [#&#8203;17430](https://togithub.com/cypress-io/cypress/issues/17430).

### [`v8.0.0`](https://togithub.com/cypress-io/cypress/releases/v8.0.0)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v7.7.0...v8.0.0)

*Released 07/19/2021*

**Summary:**

We've made some updates to ensure a consistent run experience across browsers.
Now all browsers run via `cypress run` run headlessly, with a device pixel ratio
of 1, and a screen size of 1280x720 by default.

**Breaking Changes:**

**<Icon name="exclamation-triangle" color="red"></Icon> Please read our
[Migration Guide](https://docs.cypress.io/guides/references/migration-guide) which explains the changes
in more detail and how to change your code to migrate to Cypress 8.0.**

-   When running `cypress run` previous to 8.0, some browsers would launch headed
    while others were launched headless by default. Cypress now runs all browsers
    during `cypress run` as headless by default. Addresses
    [#&#8203;16832](https://togithub.com/cypress-io/cypress/issues/16832).
-   The default screen size when running a headless browser has been reverted back
    to 1280x720 pixels (pre 7.0 behavior). Addresses
    [#&#8203;16853](https://togithub.com/cypress-io/cypress/issues/16853).
-   When running the `--headless` Chrome browser via `cypress run`, the device
    pixel ratio will now be 1 by default, matching the behavior of all other
    browsers. This behavior can be overridden through the
    [browser launch API](https://docs.cypress.io/api/plugins/browser-launch-api#Override-the-device-pixel-ratio).
    Addresses [#&#8203;17375](https://togithub.com/cypress-io/cypress/issues/17375).
-   Cypress now enforces version checks for browser launching and will error
    during `cypress run` and not allow opening the browser in `cypress open` when
    attempting to open unsupported browser versions. Cypress supports Chrome >=
    64, Firefox >= 86, and Edge >= 79. Addressed in
    [#&#8203;17355](https://togithub.com/cypress-io/cypress/pull/17355).
-   Arguments returned from a chained function will no longer incorrectly be of
    type `jQuery` and instead have an `any` type. Fixes
    [#&#8203;16669](https://togithub.com/cypress-io/cypress/issues/16669).
-   The `Cypress.ConfigOptions`, `Cypress.ResolvedConfigOptions` and
    `Cypress.RuntimeConfigOption` types have been updated so that `ConfigOptions`
    match the JSON schema. Addressed in
    [#&#8203;17251](https://togithub.com/cypress-io/cypress/pull/17251).

**Features:**

-   You can now configure certificate authority (CA) and client certificates to
    use within tests on a per-URL basis via a `clientCertificates` configuration
    option. See [Client certificates](https://docs.cypress.io/guides/references/client-certificates) for
    more detail.
-   Setting the environment variable `ELECTRON_RUN_AS_NODE` now starts Cypress as
    a normal Node.js process rather than an Electron process. See
    [Running headless tests without Xvfb](https://docs.cypress.io/guides/continuous-integration/introduction#Running-headless-tests-without-Xvfb)
    for more details. Addresses
    [#&#8203;16505](https://togithub.com/cypress-io/cypress/issues/16505).

**Bugfixes:**

-   `console.log` and `console.error` called within the
    [plugins file](https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests.html#Plugin-files)
    will now be captured in the `stdout` sent to the Cypress Dashboard, making it
    visible in Output logs in the Dashboard. Fixes
    [#&#8203;7434](https://togithub.com/cypress-io/cypress/issues/7434).
-   There are several fixes for [`cy.intercept()`](/api/commands/intercept)
    including:
    -   The `times` option now works correctly with `req.continue`. Fixes
        [#&#8203;16821](https://togithub.com/cypress-io/cypress/issues/16821).
    -   `localhost` is now accepted as a valid `hostname` in the `RouteMatcher`.
        Fixes [#&#8203;17015](https://togithub.com/cypress-io/cypress/issues/17015).
    -   `delay` now works correctly with a `statusCode` of 204. Fixes
        [#&#8203;15188](https://togithub.com/cypress-io/cypress/issues/15188).
-   When using the experimental
    [Cypress Studio](https://docs.cypress.io/guides/core-concepts/cypress-studio), there should be a
    reduced occurrence of "Studio failed to save commands" error messages. Fixes
    [#&#8203;14767](https://togithub.com/cypress-io/cypress/issues/14767).
-   [`cy.invoke()`](/api/commands/invoke) now retains the proper `this` context on
    nested object methods. Fixes
    [#&#8203;3871](https://togithub.com/cypress-io/cypress/issues/3871).
-   We no longer trigger unnecessary snapshot re-renders when hovering over the
    Command Log. Fixes
    [#&#8203;17257](https://togithub.com/cypress-io/cypress/issues/17257).

### [`v7.7.0`](https://togithub.com/cypress-io/cypress/releases/v7.7.0)

[Compare Source](https://togithub.com/cypress-io/cypress/compare/v7.6.0...v7.7.0)

*Released 07/07/2021*

**Features:**

-   When using `experimentalStudio`, [Cypress Studio](https://docs.cypress.io/guides/core-concepts/cypress-studio) can now copy all commands generated to your clipboard. Addressed in [#&#8203;16912](https://togithub.com/cypress-io/cypress/issues/16912).

**Bugfixes:**

-   Cypress now respects `preventScroll` options passed to `element.focus()` calls within the application under test. Fixes [#&#8203;15294](https://togithub.com/cypress-io/cypress/issues/15294).
-   Using `.contains(0)` will now show the zero in the Command Log. Fixes [#&#8203;1119](https://togithub.com/cypress-io/cypress/issues/1119).
-   Cypress will no longer show a warning about allowed keys for the `showedOnBoardingModal` when running `cypress open`. Fixes [#&#8203;17095](https://togithub.com/cypress-io/cypress/issues/17095).
-   The Cypress Studio introduction modal will now display with the correct styling. Fixes [#&#8203;17102](https://togithub.com/cypress-io/cypress/issues/17102).
-   The types for `.contains()` now correctly allow for the `includeShadowDom` option. Fixes [#&#8203;17066](https://togithub.com/cypress-io/cypress/issues/17066).

**Misc:**

-   We updated the messaging when Cypress fails to start to be clearer that it's not always due to a dependency missing. Addresses [#&#8203;17112](https://togithub.com/cypress-io/cypress/pull/17112).

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom-web-components-test).
  • Loading branch information
renovate[bot] committed Nov 17, 2021
1 parent 34feaae commit 552679e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -37,7 +37,7 @@
"commander": "^6.1.0",
"copy-webpack-plugin": "^4.5.4",
"css-loader": "^1.0.1",
"cypress": "^7.6.0",
"cypress": "^9.0.0",
"dotenv": "^8.2.0",
"eslint": "^4.19.1",
"eslint-loader": "^2.0.0",
Expand Down
38 changes: 21 additions & 17 deletions yarn.lock
Expand Up @@ -1565,10 +1565,10 @@
resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-11.0.0.tgz#719cf05fcc1abb6533610a2e0f5dd1e61eac14fe"
integrity sha512-VoNqai1vR5anRF5Tuh/+SWDFk7xi7oMwHrHrbm1BprYXjB2RJsWLhUrStMssDxEl5lW/z3EUdg8RvH/IUBccSQ==

"@cypress/request@^2.88.5":
version "2.88.5"
resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.5.tgz#8d7ecd17b53a849cfd5ab06d5abe7d84976375d7"
integrity sha512-TzEC1XMi1hJkywWpRfD2clreTa/Z+lOrXDCxxBTBPEcY5azdPi56A6Xw+O4tWJnaJH3iIE7G5aDXZC6JgRZLcA==
"@cypress/request@^2.88.7":
version "2.88.7"
resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.7.tgz#386d960ab845a96953723348088525d5a75aaac4"
integrity sha512-FTULIP2rnDJvZDT9t6B4nSfYR40ue19tVmv3wUcY05R9/FPCoMl1nAPJkzWzBCo7ltVn5ThQTbxiMoGBN7k0ig==
dependencies:
aws-sign2 "~0.7.0"
aws4 "^1.8.0"
Expand All @@ -1583,13 +1583,12 @@
isstream "~0.1.2"
json-stringify-safe "~5.0.1"
mime-types "~2.1.19"
oauth-sign "~0.9.0"
performance-now "^2.1.0"
qs "~6.5.2"
safe-buffer "^5.1.2"
tough-cookie "~2.5.0"
tunnel-agent "^0.6.0"
uuid "^3.3.2"
uuid "^8.3.2"

"@cypress/xvfb@^1.2.4":
version "1.2.4"
Expand Down Expand Up @@ -4296,12 +4295,12 @@ cyclist@^1.0.1:
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=

cypress@^7.6.0:
version "7.6.0"
resolved "https://registry.yarnpkg.com/cypress/-/cypress-7.6.0.tgz#80fe7496cd4165a0fa06e25fc11413dda4544463"
integrity sha512-tTwQExY28CKt6cY85/2V1uLExcMfpBEBWXt/EcE2ht/Onl9k4lxUS7ul1UnUO5MrYwMIHMdGVh13DxdzXj4Z5w==
cypress@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.0.0.tgz#8c496f7f350e611604cc2f77b663fb81d0c235d2"
integrity sha512-/93SWBZTw7BjFZ+I9S8SqkFYZx7VhedDjTtRBmXO0VzTeDbmxgK/snMJm/VFjrqk/caWbI+XY4Qr80myDMQvYg==
dependencies:
"@cypress/request" "^2.88.5"
"@cypress/request" "^2.88.7"
"@cypress/xvfb" "^1.2.4"
"@types/node" "^14.14.31"
"@types/sinonjs__fake-timers" "^6.0.2"
Expand Down Expand Up @@ -4335,7 +4334,7 @@ cypress@^7.6.0:
minimist "^1.2.5"
ospath "^1.2.2"
pretty-bytes "^5.6.0"
ramda "~0.27.1"
proxy-from-env "1.0.0"
request-progress "^3.0.0"
supports-color "^8.1.1"
tmp "~0.2.1"
Expand Down Expand Up @@ -9603,6 +9602,11 @@ proxy-addr@~2.0.5:
forwarded "~0.1.2"
ipaddr.js "1.9.1"

proxy-from-env@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.0.0.tgz#33c50398f70ea7eb96d21f7b817630a55791c7ee"
integrity sha1-M8UDmPcOp+uW0h97gXYwpVeRx+4=

prr@~1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476"
Expand Down Expand Up @@ -9749,11 +9753,6 @@ quick-lru@^5.1.1:
resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932"
integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==

ramda@~0.27.1:
version "0.27.1"
resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.27.1.tgz#66fc2df3ef873874ffc2da6aa8984658abacf5c9"
integrity sha512-PgIdVpn5y5Yns8vqb8FzBUEYn98V3xcPgawAkkgj0YJ0qDsnHCiNmZYfOGMgOvoB0eWFLpYbhxUR3mxfDIMvpw==

randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
Expand Down Expand Up @@ -12444,6 +12443,11 @@ uuid@^3.3.2, uuid@^3.4.0:
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==

uuid@^8.3.2:
version "8.3.2"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==

v8-compile-cache@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz#54bc3cdd43317bca91e35dcaf305b1a7237de745"
Expand Down

0 comments on commit 552679e

Please sign in to comment.