This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
Update dependency @cypress/vite-dev-server to v5 #703
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.2.3
->5.0.2
Release Notes
cypress-io/cypress
v5.0.2
Compare Source
v5.0.1
Compare Source
v5.0.0
: 5.0.0Compare Source
Released 8/19/2020
Summary:
Cypress now includes support for test retries! Similar to how Cypress will retry assertions when they fail, test retries will allow you to automatically retry a failed test prior to marking it as failed. Read our new guide on Test Retries 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 5.0.
cypress-plugin-retries
plugin has been deprecated in favor of test retries built into Cypress. Addresses #1313.Cypress.Cookies.defaults()
whitelist
option has been renamed topreserve
to more closely reflect its behavior. Addressed in #7782.blacklistHosts
configuration has been renamed toblockHosts
to more closely reflect its behavior. Addressed in #7622.cy.server()
whitelist
option has been renamed toignore
to more closely reflect its behavior. Addresses #6642.libgbm-dev
is now a requirement to run Cypress on Linux. Addressed in #7791.cy.setCookie()
,cy.getCookie()
, andcy.getCookies()
will now contain thesameSite
property if specified. Addresses #6892.experimentalGetCookiesSameSite
configuration flag has been removed, since this behavior is now the default. Addresses #6892.Cypress.Blob
methodsarrayBufferToBlob
,base64StringToBlob
,binaryStringToBlob
, anddataURLToBlob
have changed fromPromise<Blob>
toBlob
. Addresses #6001.?
in them. We now use the webpack preprocessor by default and it does not support files with question marks. Addressed in #7982.esModuleInterop
option is no longer coerced totrue
. If you need to utilizeesModuleInterop
, set it in yourtsconfig.json
. Addresses #7575.__dirname
and__filename
no longer include leading slashes. Addressed in #7982.Features:
retries
configuration option to configure the number of times to retry a failing test. Addresses #1313..click()
,.dblclick()
, and.rightclick()
now accept optionsaltKey
,ctrlKey
,metaKey
, andshiftKey
to hold down key combinations while clicking. Addresses #486..snapshot()
off ofcy.stub()
andcy.spy()
to disabled snapshots during those commands. For example:cy.stub().snapshot(false)
. Addresses #3849.Bugfixes:
Cannot set property 'err' of undefined
will no longer incorrectly throw when rerunning tests in the Test Runner. Fixes #7874 and #8193.Cannot read property 'isAttached' of undefined
error duringcypress run
on Firefox versions >= 75. Fixes #6813.Maximum call stack size exceeded
will no longer throw when callingscrollIntoView
on an element in the shadow dom. Fixes #7986.display: inline
will no longer be considered hidden if it has child elements within it that are visible. Fixes #6183.experimentalShadowDomSupport
is enabled,.parent()
and.parentsUntil()
commands now work correctly in shadow dom as well as passing a selector to.parents()
when the subject is in the shadow dom. Fixed in #8202.afterEach
orbeforeEach
hook after the hook has already passed. Fixes #3744.cy.screenshot()
onAfterScreenshot
option as a unique screenshot. Fixes #8079.cypress open
if a non-default-channel browser was selected. Fixes #8281.tsconfig.json
will now be loaded and used to configure TypeScript compilation of spec and support files. Fixes #7006 and #7503.reporterStats
now correctly show the number of passed and failed tests when a test passes but theafterEach
fails. Fixes #7730.Documentation Changes:
Misc:
Window
object returned fromcy.window()
is now correct. Addresses #7856.ApplicationWindow
can now be extended. Addresses #7856.reporterOptions
has been added. Addresses #7877.Dependency Updates
80
to83
. Addressed in #7791.12.8.1
to12.14.1
. Addressed in #7791.chalk
from2.4.2
to4.1.0
. Addressed in #7650.cli-table3
from0.5.1
to0.6.0
. Addressed in #7650.electron
from8.3.1
to9.2.0
. Addressed in #7791 and #8235.execa
from1.0.0
to4.0.2
. Addressed in #7650.express
from4.16.4
to4.17.1
. Addressed in #8179.fs-extra
from8.1.0
to9.0.1
. Addressed in #7650.log-symbols
from3.0.0
to4.0.0
. Addressed in #7650.tmp
from0.1.0
to0.2.1
. Addressed in #7650.v4.0.1
: 4.0.1Compare Source
Released 2/7/2020
Bugfixes:
Misc:
v4.0.0
: 4.0.0Compare Source
Released 2/6/2020
Summary:
Cypress 4.0.0 includes support for Mozilla Firefox browsers (beta support) and Microsoft Edge (Chromium based) browsers which is a big step forward for Cross Browser Testing in Cypress. We've also updated many of the underlying tools behind Cypress that bring new powerful features.
Breaking Changes:
before:browser:launch
, we no longer yield the second argument as an array of browser arguments and instead yield anoptions
object with anargs
property in order to support more advanced browser launch options. Addresses #6306.chromium
set as theirfamily
field. Addresses #6243.--browser
flag no longer acceptscanary
as its sole argument to run Chrome Canary. You now have to specifychrome:canary
to use the Chrome Canary browser. Addresses #6243.cy.writeFile()
now yieldsnull
instead of the contents written to the file in order to more align with the behavior offs
. Addresses #2466.Features:
Cypress.isBrowser()
utility function. Addresses #2023.Cypress.browser
object with a newchannel
property which contains the release channel of the detected browser. Addresses #6243..only
to multiple tests or suites will now run all tests with the.only
property. Addresses #2828.isFinite
assertion is now supported. Addresses #5669.empty
assertion is now supported when used against Map objects. Addresses #6072.nested
assertion chainer property is now supported. Addresses #3080 and #5004.Bugfixes:
.only
when multiple tests or suites contained the same title now run correctly. Fixes #5345..its()
command now properly supports 0 as a value for indexes or object keys. Fixes #6216.Documentation Changes:
Cypress.isBrowser()
doc.Misc:
config
. Addresses #6279.cypress:server:util:process_profiler
debug stream. Addresses #6169.Dependency Updates
@benmalka/foxdriver
. Addressed in #1359.@cypress/browserify-preprocessor
from1.1.2
to2.1.1
. Addressed in #4308 and #4226.bluebird
from3.5.0
to3.7.2
. Addressed in #4226.cachedir
from1.3.0
to2.3.0
. Addressed in #4208 and #4226.chai
from3.5.0
to4.2.0
. Addressed in #2862 and #4226.chai-as-promised
from6.0.0
to7.1.1
. Addressed in #4226.chalk
from2.4.0
to3.0.0
. Addressed in #4226.commander
from2.15.1
to4.0.1
. Addressed in #4208 and #4226.debug
from2.15.1
to4.0.1
. Addressed in #4226.execa
from0.10.0
to3.3.0
. Addressed in #4226.firefox-profiler
. Addressed in #1359.foxdriver
. Addressed in #1359.fs-extra
from5.0.0
to8.1.0
. Addressed in #4226.getos
from3.1.1
to3.1.4
. Addressed in #4226.is-ci
from1.2.1
to2.0.0
. Addressed in #4226.mocha
from2.5.3
to7.0.1
. Addressed in #2703 and #4226.listr
from0.12.0
to0.14.3
. Addressed in #4226.log-symbols
from2.2.0
to3.0.0
. Addressed in #4226.marionette-client
. Addressed in #1359.ramda
from0.24.1
to0.26.1
. Addressed in #4226.sinon
from3.2.0
to8.1.1
. Addressed in #2881 and #4226.strip-ansi
from3.0.1
to6.0.0
. Addressed in #1359.systeminformation
. Addressed in #1359.support-colors
from5.5.0
to7.1.0
. Addressed in #4208 and #4226.untildify
from3.0.3
to4.0.0
. Addressed in #4226.v3.4.0
: 3.4.0Compare Source
Released 7/9/2019
User Authentication Changes:
Continuous Integration Support:
Bugfixes:
contain.text
,contain.html
, andcontain.value
assertions now support partial matching in all scenarios to match expected behavior. Fixes #1969.Misc:
cypress download
that checks the checksum and filesize. This will fix issues with Cypress downloads being corrupted in transit. Fixes #812 and #3515.cy.route()
. Fixes #2372.cy.click()
fails because an element has the CSSpointer-events: none
. Fixes #3164.cy.server()
for theonAnyRequest
,onAnyResponse
, andonAnyAbort
callback options. Fixes #3992.Documentation Changes:
cy.get()
's optionalwithinSubject
argument.Dependency Updates:
string-to-stream
since it was no longer being used. Addressed in #4619.@cypress/commit-info
from2.1.3
to2.1.4
. Addressed in #4597.@cypress/react-tooltip
from0.4.0
to0.5.0
. Addressed in #4610.errorhandler
from1.5.0
to1.5.1
. Addressed in #4618.fs-extra
from8.0.1
to8.1.0
. Addressed in #4620.request-progress
from0.4.0
to3.0.0
. Addressed in #4584.v3.3.1
: 3.3.1Compare Source
Released 5/23/2019
News:
Bugfixes:
cypress run
. This bug would exhibit itself when verifying and running Cypress the first time after installation. You may have seen these logs when running in CI. Fixes #4255.multipart/form-data
uploads to hang. Fixes #4240, #4252, and #4253.have.focus
,not.have.focus
,be.focused
andnot.be.focused
assertions were not working. Fixes #4265..
character. Fixes #3512.{log: false}
to a Cypress command that failed. Fixes #3847.Misc:
Xvfb
in error messages. Addressed in #4262.Documentation Changes:
v3.3.0
: 3.3.0Compare Source
Released 5/17/2019
Features:
HTTP_PROXY
,HTTPS_PROXY
, andNO_PROXY
environment variables and proxies traffic accordingly through Cypress based on these values. This includes network traffic within your application under test, when downloading Cypress, and when accessing 'Runs' within the Test Runner. Please read our new Proxy Configuration doc to understand more about proxy configuration in Cypress. Fixes #672, #733, #939, #1039, #1459, #1469, #1470, #1541, #1608, #2295, #3855, #3865, #1401 and #3857.have.focus
,not.have.focus
,be.focused
andnot.be.focused
assertions have been added. Addresses #97.cy.visit()
orcy.request()
are now automatically retried under the hood when the request fails. This more closely reflects Chrome's default behavior on requests. Addresses #4013, #898 and #1013.cy.visit()
andcy.request()
now support new optionsretryOnStatusCodeFailure
andretryOnNetworkFailure
to allow changing Cypress's automatic request retry on status codes and network errors. Addresses #4013, #898 and #1013..type()
now supports the special character sequences{insert}
,{pageup}
, and{pagedown}
. Addresses #3845..wait()
when they match an alias multiple times. Addresses #477.cy.visit()
command now displays its resolvedoptions
arguments. Addresses #3721.xhr.abort()
and the browser canceling the request due to page navigation. Addresses #3973.cypress run
now supports scripts oftype="module"
. Fixes #3696.Cypress.isCy()
method to check if a value is a valid instance ofcy
or acy
chainable. Fixes #3822.Bugfixes:
NODE_OPTIONS
environment variables set, Cypress no longer issues an incorrect 0 exit code. #1676.its()
to no longer retry when it yieldsundefined
. #3837cy.fixture()
to throw aEISDIR
error if a directory had the same name as a file within that same directory. Fixes #3739.user-agent
headers sent as arguments tocy.request()
andcy.visit()
are now properly sent. Fixes #3873 and #3719.cypress verify
, we now kill the verification process after 10 seconds and print the error message. This should prevent some situations where Cypress would hang during installation or verification and never exit. Fixes #819.cypress verify
andcypress run
commands by starting its own Xvfb server on Linux if the first attempt fails due to possibleDISPLAY
misconfiguration. Addresses #4034.hasOwnProperty
) into .type(). Fixes #3423.form
option totrue
if theContent-Type
header equalsapplication/x-www-form-urlencoded
andjson
is not already set by a user. This fixes a situation where Cypress would try to parse thebody
as a string, resulting in a confusing error message. Fixes #2923.cy.contains()
now correctly handles comma delimited arguments passed to the selector argument. Fixes #2407.--browser
argument. Fixes #3979Cypress.log()
now throws an error when not properly passed an object as its argument. Addresses #3658.Cypress.log()
no longer throws when called before any other Cypress commands. Fixes #3658.Misc:
ffmpeg
builds with Windows builds, resulting in a 35-40% reduction in zipped size and a 36-43% reduction in unzipped size of download. Addresses #3888.Connection: keep-alive
header so that the connection will be reused if possible. Addresses #3857.timeout
option incy.hash()
. Fixes #3844.match
assertion so that it now only acceptsRegExp
type arguments. Fixes #2578..trigger()
type definition now expects itsoptions
to beObjectLike
. Addressed in #3809.cy.clock()
type definition now allows for typeDate
. Fixed in #4106.Cypress.LocalStorage.clear
method. Fixes #4070.Cypress.isCy()
method. Fixes #3822.cy.visit()
options. Fixes #3989.Documentation Changes:
{insert}
,{pageup}
, and{pagedown}
as supported special character sequences to.type()
. Addressed in #1567.focus
assertion to Assertions doc. Addresses #1372.retryOnStatusCodeFailure
andretryOnNetworkFailure
tocy.visit()
andcy.request()
..its()
and.invoke()
docs to better explain how default assertions are handled. Addresses #1643.Dependency Updates
commit-info
from2.1.2
to2.1.2
. Addressed in #4045data-uri-to-buffer
from0.0.4
to1.2.0
. Addresses #4152.electron
from1.8.2
to2.0.18
. Addresses #4000.electron-packager
from9.1.0
to13.1.1
. Addresses #4155.express-handlebars
from3.0.0
to3.0.2
. Addressed in #4086.find-process
from1.2.1
to1.4.1
. Addressed in #4087.getos
from2.8.4
to3.1.1
. Addressed in #4222.http-status-codes
from1.3.0
to1.3.2
. Addressed in #3949.jimp
from0.6.0
to0.6.4
. Addressed in #4097.method-override
. Addressed in #4209.node
from8.2.1
to8.9.3
. Addressed in #4001.parse-domain
from 2.1.7 to 2.0.0 to avoid a regression released inparse-domain
. Addresses #3717.pluralize
from3.1.0
to7.0.0
. Addressed in #4205 and #4206.semver
from5.6.0
to5.7.0
. Addressed in #4112.send
from0.16.2
to0.17.0
. Addressed in #4134.supports-color
from5.5.0
to6.1.0
. Addressed in #4150.tar-fs
. Addressed in #4148.term-size
from1.2.0
to2.0.0
. Addressed in #4148.tmp
from0.0.33
to0.1.0
. Addressed in #4111.trash
from4.3.0
to5.2.0
. Addressed in #4140.url-parse
from1.4.4
to1.4.7
. Addressed in #4110.widest-line
from2.0.1
to3.1.0
. Addressed in #4139.v3.2.0
: 3.2.0Compare Source
Released 3/15/2019
Features:
cy.visit()
has been expanded to allow optionsurl
,method
,body
, andheaders
. This allowscy.visit()
to be called with aPOST
method or with headers likeAccept-Language
orAuthorization
. Fixes #1500, #1904 and #908.cy.request()
now allows any valid HTTPmethod
to be used includingTRACE
,COPY
,LOCK
,MKCOL
,MOVE
,PURGE
,PROPFIND
,PROPPATCH
,UNLOCK
,REPORT
,MKACTIVITY
,CHECKOUT
,MERGE
,M-SEARCH
,NOTIFY
,SUBSCRIBE
,UNSUBSCRIBE
,SEARCH
, andCONNECT
. Addresses #1302--browser
argument of the Command Line and thebrowser
argument of the Module API have been updated to allow passing a<path>
. Addresses #1026.cy.type()
now accepts{home}
and{end}
special character sequences to move the cursor to the start or end of a line. Addresses #2033.caljajdfkjjjdehjdoimjkkakekklcck
. This allows Cypress to be added to extension whitelists for those working under corporate policies that prohibit extensions. Addresses #3673, #1239 and #2494.Bugfixes:
item.first is not a function
. Fixes #2927.browser
installations. Fixes #3183 and #3218..
in their filename while not specifying the file extension. We are also displaying a clearer warning when a fixture file cannot be found. Fixes #1402.@types
have been moved from Cypressdependencies
intodevDependencies
. This should fix situations where user's type dependencies were conflicting with Cypress's third party type definitions. Fixes #3371 and #1227.Cypress.config('baseUrl')
has been updated to no longer strip singular/
at the end of urls and instead only strip instances of multiple/
. Fixes #3540.cy.wrap()
no longer throws an error when a non-jQuery wrapped DOM element is passed in as an argument. Fixes #3549.setTimeout
orsetInterval
were not properly passed on to the target function. Fixes #3592..filter()
has been updated so that when called with a function, the options are now properly read. Fixes #3315.()
. #3267.its()
returnsundefined
it no longer errors. It will now follow the same logic as all other commands and only fail when directly by a.should()
command with an assertion that is not met. Fixes #1531.cy.wrap()
is followed directly by a.should()
command,cy.wrap()
will now retry when its argument evaluates toundefined
until it meets the requirements of the assertion or thecy.wrap()
command times out. Fixes #3241.Misc:
--spec
that is not surrounded by quotes""
recommending that the argument instead be surrounded by quotes. In some cases, not providing quotes can cause the arguments to be read in a way that is likely not its intended use. Addresses #3318 and #2298.data
attributes. The examples also have some small typo fixes. Fixes #502. Addressed in #3272, #3287, and #3700.loopback
. Addresses #3712.yarn
update instructions alongsidenpm
. Addresses #2871.cypress run
. Addresses #1449.Cypress.on
to listen forwindow.alert
events to allow forSinon.stub
. Fixes #3451..trigger
options. Addressed in #3588.Documentation Changes:
--browser
andbrowser
args to acceptpath
#1419{home}
and{end}
character sequences tocy.type()
doc. Also wrote better description of what{downarrow}
and{uparrow}
character sequences actually do. #1347cy.request()
doc.Dependency Updates
@cypress/commit-info
from2.1.1
to2.1.2
. #3327.@cypress/xvfb
from1.2.3
to1.2.4
. #3328.@ffmpeg-installer/ffmpeg
from1.0.15
to1.0.17
. #3329.cachedir
from1.3.0
to2.1.0
. #3660.chalk
from2.4.1
to2.4.2
. #3362.chokidar
from1.6.0
to1.7.0
. #3363.coffee-script
from1.12.5
to1.12.7
. #3365.commander
from2.11.0
to2.19.0
. #3366.common-tags
from1.4.0
to1.8.0
. #3368.compression
from1.7.2
to1.7.3
. #3379.cookie
from0.2.4
to0.3.1
. #3380.cookie-parser
from1.4.3
to1.4.4
. [#3443](https://togithub.com/Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 Mend Renovate. View repository job log here.