Bump cypress from 4.2.0 to 6.2.1
Created by: dependabot-preview[bot]
Bumps cypress from 4.2.0 to 6.2.1.
Release notes
Sourced from cypress's releases.
6.2.1
Released 1/4/2021
Bugfixes:
- Test retries, when retrying on several failed tests, will no longer cause hanging during
cypress run
. Fixes #9040.multipart/form-data
is no longer wrongly encoded when usingcy.intercept()
. This should preventUnexpected end of multipart data
errors on the back end service where the request was pointing to. Fixes #9359.cy.contains()
no longer throws an error when a single quote is used inside its argument when RegExp. Fixes #8626.- Passing
capture: 'runner'
to acy.screenshot()
command inside.within()
now screenshots the entire Test Runner as expected. Fixes #14253.Cypress.dom.isJquery()
now always returns a boolean instead ofundefined
sometimes. Fixes #14278.calledOnceWith
andcalledOnceWithExactly
sinon matchers no longer throw an error when used within Cypress. Fixes #9644.- We now pass
--disable-backgrounding-occluded-windows
as a default flag to Chrome to prevent backgrounding rendering when the Cypress window is occluded. Fixes #9604.Misc:
- After login, if a name is undefined on your profile, the Test Runner will show the profile's email and link to instructions to update the name. Addresses #14288.
Dependency Updates:
- Upgraded
devtools-protocol
from0.0.734984
to0.0.839267
. Addressed in #14353.- Upgraded
electron
from11.0.3
to11.1.1
. Addressed in #14352.6.2.0
Released 12/21/2020
Features:
- You can now listen to
before:run
andafter:run
events in the plugins file. See thebefore:run
andafter:run
docs for more information. Addressed in #14238 and #14263.- You can now listen to
before:spec
andafter:spec
events in the plugins file. See thebefore:spec
andafter:spec
docs for more information. Addressed in #9646 and #14178.- The
Timed out retrying
error message now displays the amount of time Cypress retried. Addresses #5781.Bugfixes:
- Getting an alias of
cy.intercept()
usingcy.get()
will no longer always yieldnull
. Fixes #9306.cy.intercept()
will now automatically responds to CORS preflight requests (HTTPOPTIONS
requests) that match defined routes. Fixes #9599.- Response errors from
forceNetworkError
can now be awaited usingcy.intercept()
andcy.wait()
. Fixes #9062.- Using
cy.log()
inside.then()
no longer breaks the subject value in the command chain. Fixes #8084.- Using
Cypress.Commands.overwrite
to overwrite.then()
now preserves the properthis
context and sets aliases correctly. Fixes #5101.- Using
Cypress.Commands.overwrite
to overwritecy.route()
orcy.intercept()
and wait on its alias now properly works. Fixes #3890 and #9580.- Cypress no longer fails to find specs if you set the fixtures folder to be the same as the integration folder. Fixes #14226.
Misc:
scrollBehavior
is now an allowed type when passed as test configuration. Addresses #9643.- The
FileObject
type for the file argument of thefile:preprocessor
event now includes theEventEmitter
type. Addresses #9276.Dependency Updates:
- Upgraded
electron
from11.0.2
to11.0.3
. Addressed in #9409.
Commits
-
3e8b52f
release 6.2.1 [skip ci] -
57b746a
fix: hanging due to deep clone on mocha runnable object in server/reporter (#... -
8782c23
fix: Added missing calledOnceWith & calledOnceWithExactly sinon matchers. (#1... -
814fe6f
chore(deps): update dependency electron to version 11.1.1🌟 (#14352) -
f020423
chore(deps): update dependency devtools-protocol to version 0.0.839267🌟 (#14... -
91b5e16
chore(deps): update dependency cypress-example-kitchensink to version 1.13.1 ... -
33477db
fix: (cy.intercept()) intercept-request body buffer encoding problem for mult... -
6bc3527
fix: Cypress.dom.isJquery() returns only boolean results (#14325) -
590dfa4
fix: ignore within subject when screenshotting the entire runner (#14264) -
0fb46fd
fix: cy.contains() works with regexes that use single quotes. (#14311) - Additional commits viewable in compare view
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)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)