This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
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:
3.1.2
->5.0.3
Release Notes
cypress-io/cypress
v5.0.3
Compare Source
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.2.2
Compare Source
v4.2.1
Compare Source
v4.2.0
: 4.2.0Compare Source
Released 3/16/2020
Features:
--headed
mode. Addresses #1767.cypress cache list
now prints the last time the cached binary was accessed for each version present. Addresses #6682.Bugfixes:
&
or%
characters now correctly run instead of erroring. Fixes #4210.cypress open
when there was an exception if thrown in anafter
hook. Fixes #6619.cypress verify
no longer incorrectly prints messaging about this being the first time using that Cypress version. Fixes #6607.DEBUG
logs are enabled. Fixes #6662.Misc:
CYPRESS_INTERNAL_ENV
to a non-production value. Addresses #6436.cypress:launcher
, they now print a clearer log during browser detection for easier reading. Addresses #6700..click
,.dblclick
, and.rightclick
command'sposition
argument. Addresses #6341..its()
and.invoke()
. Addresses #6431.Cypress.dom.isDetached
no longer throws a type error in TypeScript projects. Addresses #4408.cy.clearLocalStorage({ log:false })
no longer throws a type error in TypeScript projects. Addresses #6615.Cypress.sinon
. Addresses #6720.Dependency Updates
cypress run
and when selecting Electron browser incypress open
from78
to80
. Addressed in #6555.electron
from7.1.13
to8.1.1
. This bumps the bundled Chromium to 80.0.3987.141 and the bundled Node to 12.13.0. Addressed in #6555.@ffmpeg-installer/ffmpeg
from1.0.19
to1.0.20
. Addressed in #6686.minimist
from1.2.0
to1.2.2
. Addressed in #6726.request
withcypress-io/request
. Addressed in #6679.v4.1.0
: 4.1.0Compare Source
Released 2/28/2020
Features:
cypress info
command to see the locally detected browsers and other information related to Cypress. Addresses #4540.baseUrl
is running within the warning message duringcypress open
. Addresses #3284.config
argument now includesprojectRoot
(absolute path to the root of the project) andconfigFile
(absolute path to the configuration file). Addresses #5941.Bugfixes:
xhr.onreadystatechange
is accessed. Fixes #5864.cypress install
would not complete on Node.js 8.0.0. Fixes #6512 and #6568.cy.clearLocalStorage()
" clearlocalstorage now properly accepts thelog
option to disable logging. Fixes #6342.Misc:
cy.$$
has been updated to distinguish differences between it andCypress.$
. "More info here" $#Cypress-vs-cy Addresses #2027.Dependency Updates
electron
from7.1.10
to7.1.13
. Addressed in #6566.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.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.