Update dependency cypress to v7 #453
No reviewers
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#453
Loading…
Reference in New Issue
No description provided.
Delete Branch "renovate/cypress-7.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
6.9.1
->7.0.1
Release Notes
cypress-io/cypress
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.Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
9e8a1b6682
tod0bba250f6
d0bba250f6
to3a40e7284c
3a40e7284c
to7bbb027e0c
7bbb027e0c
to4d9fb8b3e5