New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): Update dependency cypress to version 7.3.0 π #480
Conversation
Deploy preview for cypress-example-kitchensink ready! Built with commit 841ca6c https://deploy-preview-480--cypress-example-kitchensink.netlify.app |
Test summaryRun details
View run in Cypress Dashboard β‘οΈ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Test summaryRun details
View run in Cypress Dashboard β‘οΈ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
9bcda6a
to
5de5ffd
Compare
5de5ffd
to
89e64fc
Compare
89e64fc
to
841ca6c
Compare
841ca6c
to
734ca1b
Compare
I think these tests initially ran when the download server was down, so it's a mess. Going to try to rerun the jobs. |
Actually, maybe I"ll just open a new PR. |
Renovate Ignore NotificationAs this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 7.x releases. However, if you upgrade to 7.x manually then Renovate will then reenable updates for minor and patch updates automatically. If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened. |
New PR: #490 |
This PR contains the following updates:
6.7.1
->7.3.0
Release Notes
cypress-io/cypress
v7.3.0
Compare Source
Released 05/10/2021
Features:
testingType: 'component'
via the newtestingType
property. ThetestingType
will default toe2e
. Addresses #β16302.cy.intercept()
now accepts atimes
option in theRouteMatcher
.times
will specify the number of times that a particularcy.intercept()
should be applied. Addresses #β4460 and #β8531.cy.intercept()
now accepts invocation usingcy.intercept(url, routeMatcher, handler)
, whereurl
is a regular expression. Previously, this only worked ifurl
was a string. Addresses #β16390.DEBUG=cypress:server:record:ci-info
will print commit information and CI provider information that's sent to the Dashboard as debug logs. Addresses #β16236.CYPRESS_DOWNLOAD_USE_CA
is specified. See "Using a custom CA" for more information. Addresses #β8825.Bugfixes:
/__/
whenlocation.href
is set to a relative path within the call stack of an XHR event handler. Fixes #β3975 and #β7439._top
or_parent
so that it no longer redirects the parent frame. Fixes #β1244.RangeError: Maximum call stack size exceeded at _deconstructPacket
error. Most commonly, this occurred when handling network errors withcy.request()
. Fixes #β15101.ERR_INVALID_ARG_TYPE
type error when testing a binary file upload. Fixes #β15898 and #β16223..then()
only accepting functions to display. Fixes #β15281.cy.intercept()
now adds aaccess-control-expose-headers: '*'
header by default for CORS requests unless overridden. Fixes #β15050.cy.intercept()
andcy.route()
requests with multiple aliases are displayed in the command log. Addressed in #β16382.Cypress.cookies.debug(true)
will now correctly show cookie-related messages on the console. Fixes #β15032.cy.log()
will now show all arguments, not only the first 2. Fixes #β16068..select()
now correctly selects option elements with values that have
characters. Fixes #β16045.e2e
andcomponent
configuration values will now correctly show when previewing resolved configuration in the Test Runner. Fixes #β16282.βquiet
flag, Cypress will no longer print uploading output to Stdout. Fixes #β16268./
hotkey in Firefox, Cypress will select the SpecList's SearchInput as it does in other browsers. Fixes #β16309.Dependency Updates:
classnames
from2.2.6
to2.3.1
. Addressed in #β8337.color-string
from1.5.4
to1.5.5
. Addressed in #β16362.lodash
from4.17.19
to4.17.21
. Addressed in #β16406.registry-js
from1.13.0
to1.15.0
. Addressed in #β16409.url-parse
from1.4.7
to1.5.0
. Addressed in #β16408.v7.2.0
Compare Source
Released 04/26/2021
Features:
Performance:
Bugfixes:
ERR_INVALID_ARG_TYPE
type error. We now correctly detect a utf8 request body with multi-byte Unicode characters. Fixes #β15901.cy.intercept()
aliases will now work as expected. Fixes #β15823.cy.intercept
. Fixes #β16117.cypress run-ct
no longer hangs on Windows machines. Fixes #β15976.Cannot read property 'name' of null
. Fixes #β15816..select()
an<option>
within a disabled<fieldset>
. Fixes #β5951..type()
will no longer change thevalue
attribute of button-like inputs with type button, submit, reset, image, radio, or checkbox. Fixes #β15913.componentFolder
outside of the root project when specifying--project
. Fixes #β16053.Misc:
Cypress.Cookies.defaults()
now returns the correct type instead ofvoid
. Addresses #β15426..then()
will show the correct type when a collection of HTMLElements is provided. Addressed in #β15869.cy.intercept()
. Addressed in #β16167.Dependency Updates:
cypress run
and when selecting Electron browser incypress open
from89.0.4348.1
to89.0.4328.0
. This was done to address a performance regression introduced in 7.0.0. Addressed in #β16113.systeminformation
from5.3.1
to5.6.4
. Addressed in #β15819.lolex
with@sinonjs/fake-timers
. Addressed in #β15595.v7.1.0
Compare Source
Released 04/12/2021
Features:
before:spec
,after:spec
,before:run
, andafter:run
now fire in interactive mode in addition to run mode. This requires theexperimentalInteractiveRunEvents
flag to be enabled. Addressed in #β15787.Bugfixes:
cypress.json
is now correctly applied in the Component Test Runner. Fixes #β15899.cy.intercept(routeMatcher, staticResponse)
would still be sent to the destination server. Fixes #β15841.v7.0.1
Compare Source
Released 04/07/2021
Bugfixes:
Enter
. Addressed in #β15833.--ipc=host
. Fixes #β15814 and #β350.stderr
in production builds of Cypress. Addressed in #β15817.stdout
when the video cannot be found after a run. Addressed in #β15828.tsconfig.json
file present. Addressed in #β15828.Misc:
v7.0.0
Released 04/05/2021
Summary:
π Introducing the Cypress Component Test Runner - now in alpha. Today's release includes a brand new test runner designed to replace your Node-based component tests. Our Component Test Runner tests your components in the browser, just like a user would. And, since it runs in the browser, you get to debug your components using your favorite developer tools. Read our Component Testing Guide for more details.
Breaking Changes:
Please read our Migration Guide which explains the changes in more detail and how to change your code to migrate to Cypress 7.0.
cy.intercept()
are now matched starting with the most recently defined request interceptor. This allows users to override request handlers by callingcy.intercept()
again. This matches the previous behavior that was default incy.route()
. Addresses #β9302.cy.intercept()
now automatically parses more JSON MIME types, including 'application/vnd.api+json'. You can now removeJSON.parse(req.body)
orJSON.parse(res.body)
from some tests that previously required it. Addresses #β14763.undefined
) supplied as the body of aStaticResponse
tocy.intercept()
will now be JSONified and sent as the body. Previously, an empty string was sent instead. Addresses #β15234 and #β14205.matchUrlAgainstPath
RouteMatcher
property has been removed fromcy.intercept()
.cy.intercept()
URL matching has been removed. Previously, a URL would match if it contained the supplied string anywhere. Now, the URL (including querystring) only matches if it is an equality match or a minimatch.delay
option for StaticResponses used withcy.intercept()
has been removed. Please go back to using thedelayMS
option. Addresses #β15255.cy.route2()
was previously aliased tocy.intercept()
. Now the aliascy.route2()
has been removed. Please update usage ofcy.route2()
tocy.intercept()
. Addressed in #β14709.cypress open
orcypress run
. Now, they need to be executed by runningcypress open-ct
orcypress run-ct
. Addressed in #β15701.experimentalComponentTesting
must be removed from yoru configuration file,cypress.json
by default, or it will throw an error. Addressed in #β15701.file:preprocessor
event is no longer used to compile component tests. Now, adev-server:start
event must be registered.window.onerror
. Addresses #β8802.uncaught:exception
event with the promise as the third argument. Addresses #β243.redirectionLimit
config. Addresses #β14445.contextIsolation
by default in the Electron browser. You can override this option if needed within thebefore:browser:launch
API. Addressed in #β15493.Cypress.moment()
has been removed. Please migrate to a different datetime formatter. See our recipe for example replacements. Addresses #β8714.12.18.3
to14.16.0
. This could change the behavior of code within thepluginsFile
when using the bundled Node.js version of Cypress. Addressed in #β15292.Features:
cy.intercept()
includingbefore:response
,response
, andafter:response
.req.continue(cb)
) supplied tocy.intercept()
will be called in reverse order untilres.send
is called or until there are no more response handlers.middleware
, has been added to theRouteMatcher
type. If true, the supplied request handler will be called before any non-middleware request handlers.req.continue(cb)
, is available on request objects yielded bycy.intercept()
. It is functionally the same asreq.reply(cb)
- the request will stop propagating to other event handlers, will be sent outgoing, and the response will be handled by cb.cy.intercept()
can now be called with a new overload:cy.intercept(url, routeMatcher, handler)
.routeMatcher
will be merged withurl
, and the handler is required.cy.visit()
can now visit pages withapplication/xhtml*
content-type. Addresses #β15738.component
tests versuse2e
tests. Addressed in #β15526.ctrl/cmd + f
) to search spec files in the Test Runner based on your OS. Addresses #β6229.cy.tick()
now accepts alog
option. Addresses #β15180.keep-alive
header to all proxy responses. Addressed in #β15292NODE_OPTIONS
. Addressed in #β15292Bugfixes:
response.body
ofcy.intercept()
is now correct after stubbing a response usingres.send({ fixture })
in areq.continue
callback or abefore:response
orresponse
handler. Addressed in #β14543.cy.wait()
. Fixes #β14522..click()
will no longer fail with "coordsHistory must be at least 2 sets of coords" when specifying{ multiple: true }
. Fixes #β3738.Refused to apply style
are gone from the console inopen-ct
during Component Testing. Addressed in #β15661.@cypress/vue
. Addressed in #β15275.Misc:
set-cookie
allowstring[]
, so the header's type has been changed to reflect this. Addresses #β15419.cy.writeFile()
now allows 4 arguments. Addresses #β15353..then()
will show the correct type when raw HTMLElements are provided. Addresses #β14875Dependency Updates
cypress run
and when selecting Electron browser incypress open
from87
to89
. Addressed in #β15292.12.18.3
to14.16.0
. Addressed in #β15292.electron
from11.3.0
to12.0.0
. Addressed in #β15292.v6.8.0
Compare Source
Released 3/17/2021
User Experience:
Bugfixes:
experimentalStudio
, Cypress Studio the icon to add commands will now fully display on long test titles. Fixes #β15182.Configuration
π Schedule: "before 2am" in timezone America/New_York.
π¦ 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.