build(deps-dev): bump cypress from 4.2.0 to 4.7.0
Created by: Tirokk
Authored by dependabot-preview[bot] Closed
Bumps cypress from 4.2.0 to 4.7.0.
Release notes
Sourced from cypress's releases.
4.7.0
Released 5/26/2020
Features:
cy.request()
now supports anencoding
option that can be used to set the encoding of the response body, defaulting toutf-8
. Addresses #2029 and #3576.Bugfixes:
- We fixed a regression in 4.6.0 where the address bar of the application under test would disappear when scrolling commands ran and the application under test would visually shift after taking screenshots. Fixes #7443 and #7466.
- We fixed a regression where test runs could hang when loading spec files with source maps. Fixes #7464.
Misc:
- We now display a more descriptive error message when the plugins file does not export a function. Addresses #6611.
4.6.0
Released 5/20/2020
Features:
- Errors in the Test Runner now display a code frame to preview where the failure occurred with the relevant file, line number, and column number highlighted. Clicking on the file link will open the file in your preferred file opener and highlight the line and column in editors that support it. Addresses #3762.
- Cypress now utilizes source maps to enhance the error experience. Stack traces are translated so that your source files are shown instead of the generated file that is loaded by the browser. Cypress will include an inline source map in your spec file. If you modify the preprocessor, ensure that inline source maps are enabled to get the same experience. Users of
@cypress/webpack-preprocessor
should upgrade to v5.4.1 or later of the package which will correctly inline source maps. Addresses #881, #1761 and #3966.- Cypress now enables AST-based JS/HTML rewriting when setting the
experimentalSourceRewriting
configuration option totrue
. Addresses #5273.- Number arguments passed to
have.text
,have.id
,have.data
,have.value
, andhave.attr
assertions chainers are now automatically cast to strings for comparison. Addresses #7314.Bugfixes:
- Default TypeScript options are now set to
module: commonJS
which Node.js and the browser expect. This fixes a situation where setting a different module in atsconfig.json
would cause errors to throw if you hadexport
,import
orasync
keywords in your code. Fixes #7005, #7011, #7043, and #7151.- When
experimentalSourceRewriting
is enabled, settinglocation
orlocation.href
to a relative href, or usinglocation.replace
orlocation.assign
with a relative href will no longer navigate the AUT to the wrong URL. Fixes #3975 and #3994.- When
experimentalSourceRewriting
is enabled, the use ofwindow.top
andwindow.parent
will no longer cause the AUT to break out of the Cypress iframe. Fixes #5271 and #1467.- When
experimentalSourceRewriting
is enabled, calls towindow.frames
,window.parent.frames
, and otherframes
will no longer point to the wrong reference after being proxied through Cypress. Fixes #2664.- When
experimentalSourceRewriting
is enabled, scripts using theintegrity
attribute for sub-resource integrity (SRI) will now load after being proxied through Cypress. Fixes #2393.- When
experimentalSourceRewriting
is enabled, the use ofdocument.location
to set the URL will no longer navigate the AUT to the wrong URL. Fixes #7402.- Type definitions will no longer conflict when running Cypress in a project with Jest. Fixes #3536.
- We increased the timeout for launching Firefox from 2.5 seconds to 50 seconds. Previously, users hitting this limit would encounter a "cannot open socket" error; now, the error will be wrapped. Fixes #7159.
.click
will now click in the correct coordinates when either x or y coordinate options are zero. Fixes #7319.- Cypress no longer displays
onError is not a function
when a browser can't connect. Fixes #7217.- You can now pass the
force: true
option to.select()
to select options within a disabled<select>
. Addresses #107.- We now throw an error when attempting to
.select()
an<option>
within a disabled<optgroup>
. Fixes #7226.- We fixed a regression in 4.3.0 where the message output during errors were not formatted correctly. Fixes #6924.
- Using
Cypress._.capitalize
now correctly behaves the same as Lodash's capitalize method. Fixes #7222.- When
experimentalComponentTesting
is enabled, clicking on a component spec now watches the correct file without assuming it is an integration file. Fixes #7244.- Firefox video recording no longer crashes Cypress when running very short spec files. Fixes #6408.
- Applications containing a DOM element with an id attribute containing 'jquery' will no longer throw an error during
cy.visit()
. Fixes #6193.- Long errors generated when compiling or bundling the test file are now horizontally scrollable. Fixes #6898.
Misc:
... (truncated)
- Cypress no longer requires write access to the root of the project, it instead will display a warning when no write access is given. Addresses #1281.
Commits
-
f986239
release 4.7.0 [skip ci] -
478e1d2
Fix source map extraction hanging (#7485) -
071c5c7
feat(driver): Add support forencoding
option in cy.request() (#7382) -
b7eec83
chore(deps): Update dependency electron-builder to version 22.6.1🌟 (#7429) -
caaca9f
Revert "Fix long error in the app iframe cannot be fully scrolled (#7203)" (#... -
51127df
Update error message whenpluginsFile
does not export a function (#7381) -
0416934
Fix flaky e2e plugins test (#7444) -
dc202b7
test types against awesome-ts-loader repo (#7415) -
83856c3
release 4.6.0 [skip ci] -
68ec0bb
chore(deps): Update dependency cypress-multi-reporters to version 1.4.0🌟 (#7... - Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by chrisbreiding, a new releaser for cypress since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)