This repository was archived by the owner on Feb 28, 2024. It is now read-only.
chore(deps): update dependency cypress to version 4.2.0 🌟 #20
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.5.0
->4.2.0
Release Notes
cypress-io/cypress
v4.2.0
Compare 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
Compare 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.2
Compare Source
Released 2/14/2020
Bugfixes:
@cypress/browserify-preprocessor
to2.1.4
, fixing a regression involving non-top-levelrequire()
s in tests. Addresses #6403.Cypress.isBrowser
. Addresses #6447..should('contain', ...)
on acy.contains()
would produce unexpected results. Addresses #6384.Misc:
v4.0.1
Compare Source
Released 2/7/2020
Bugfixes:
Misc:
v4.0.0
Compare 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.8.3
Compare Source
Released 1/24/2020
Bugfixes:
cypress run
indicatingcould not find CRI target
when Cypress was unable to find the tab to control. Fixes #6053.cypress verify
will no longer error on some systems when-screen
is not defined. Fixes #6184.cy.type({ force: true })
to no longer forcibly type characters for readonly inputs. Fixes #6116.file
property. Fixes #1495.Misc:
cy.get()
are now truncated at 50 lines the Command Log instead of the 1 line. Addresses #6145.Dependency Updates:
electron
from7.1.9
to7.1.10
. Addressed in #6242.electron
from7.1.7
to7.1.9
. Addressed in #6180.http-status-codes
from1.3.2
to1.4.0
. Addressed in #6134.socket.io
andsocket.io-client
from2.2.0
to2.3.0
. Addressed in #6179.v3.8.2
Compare Source
Released 01/10/2020
Bugfixes:
unzip
is not installed where the progress ofcypress install
would show up to 200%. Fixes #5967transform
andheight
orwidth
are now properly seen as visible during visiblity checks. Addresses #5974.transform-style: preserve-3d
. Fixes #5682.overflow: hidden
are now properly calculated as invisible during visibility checks. Fixes #6093..type()
on number inputs to type non-number characters would not type the correct value. Fixes #6055.Misc:
cy.log()
are now truncated at 50 lines the Command Log instead of the 1 line. Addresses #5625.CI_JOB_NAME
environment variable. Addressed in #6111.removeListener
andremoveAllListeners
have been added toCypress
andcy
. Addresses #5228.runUrl
property returned fromcypress.run()
has been added. Addresses #6087.Dependency Updates:
ansi_up
from4.0.3
to4.0.4
. Addressed in #6074.electron
from7.1.4
to7.1.7
. Addressed in #6085.v3.8.1
Compare Source
Released 12/26/2019
Bugfixes:
cypress run --headless
would not run Chrome-family browsers headlessly. Fixes #5949.cy.setCookie()
,cy.clearCookie()
, andcy.getCookie()
has been removed. Fixes #5642..type()
on number inputs to type non-number characters or the{enter}
special character would not type the correct value. Fixes #5968 and #5997.Misc:
cy.location()
have been improved. Addresses #5574.Dependency Updates:
get-port
from5.0.0
to5.1.0
. Addressed in #6004.chrome-remote-interface
from0.28.0
to0.28.1
. Addressed in #6008.which
from1.3.1
to2.0.2
. Addressed in #6017.ansi_up
from1.3.0
to4.0.3
. Addressed in #4331.jimp
from0.6.4
to0.9.3
. Addressed in #4331.v3.8.0
Compare Source
Released 12/12/2019
Features:
cypress run --headless --browser chrome
. Addresses #832.--tag
argument to be used to identify separate runs. Any tags assigned will be shown on the run in the Cypress Dashboard. Addresses #2561..its()
and.invoke()
now accept anoptions
object to allow changing logging options. Addresses #1450.unzip
binary duringcypress install
before trying the slower, Node.js-based unzipping method. Addresses #3803.Bugfixes:
--config
or--env
command line flags. Fixes #5466.Cookie
header during "cy.visit()
visit orcy.request()
would be overwritten by theCookie
header generated from the browser's cookie store. Fixes #5894.cy.getCookie()
would incorrectly filter cookies by their domain, leading to unexpected results. Fixes #5656..type({ force: true })
on hidden inputs would not type the correct characters. Fixes #5835..type()
was not respecting previous selections if the current value of the input was the same as the key. This also fixed an where.type()
would not respect previous selections in non-selectionRange inputs (like email or number inputs). Fixes #5703.scale(0)
orrotateY(90deg)
as not visible. Fixes #723.env
configuration option displays properly within the settings panel. Previously, setting env options would incorrectly render"undefined"
as the value. Fixes #5859.Misc:
0
forcy.viewport()
Addresses #5871 and #5892.config.browser
that are not of the Chrome family. It also supports showing the Firefox logo (in preparation for Firefox browser support). Fixes #5745.cy.request
will now automatically encode special characters in the request URL, including Unicode. Addresses #5274.ELECTRON_EXTRA_LAUNCH_ARGS
. Addresses #5807.Dependency Updates:
ansi-escapes
from4.2.1
to4.3.0
. Addressed in #5815.electron-context-menu
from0.11.0
to0.15.1
. Addressed in #5495.v3.7.0
Compare Source
Released 11/27/2019
Features:
browsers
array is also editable within plugins by accessingconfig.browsers
via the Configuration API. The currently available browsers are also displayed within the configuration panel under Settings in the Test Runner. Addresses #5067.Bugfixes:
cy.visit
that changes superdomain would incorrectly clear cookies of other domains. Fixes #5756.cy.visit
or in acy.request
with a customDomain
that is not a subdomain of the current domain would fail to set. Fixes #5656.cy.type
to send duplicate modifier keys. Fixes #5622.followRedirect: false
would fail if aSet-Cookie
header was present in the response. Fixes #5654.window
is no longerundefined
within the application under test when called within asetTimeout
during strict mode. Fixes #5707.--ci-build-id
andgroup
flag arguments duringcypress run
. Fixes #5686.have.all.keys
assertion now correctly display. Fixes #753.cy.visit()
on acleverapp.io
domain. Fixes #5722.null
would cause an error. Fixes #472.Misc:
position: fixed
and is being overflowed over. Addresses #1379.cy.visit
s that cause a superdomain change will now result in 2 requests to the origin server. This should not affect tests, as tests will still re-run on a superdomain change. This is a side-effect of the fix for #5756.Dependency Updates:
parse-domain
from2.0.0
to2.3.4
. Addressed in #5726.v3.6.1
Compare Source
Released 11/08/2019
Bugfixes:
beforeunload
handler. Fixes #2118.cy.setCookie()
with the sameoptions
Object, Cypress now correctly sets the new cookie instead of the one passed into a previouscy.setCookie()
. Fixes #2701.cy.clearCookie()
would not act as expected when using certainbaseUrls
. Fixes #5453.Failed to parse or set cookie named "xxx"
when loading certain websites. Fixes #4990.cy.visit()
to an HTTPS URL using the default port, 443. Fixes #5367.TypeError: Cannot read property 'length' of null
on some network requests. Fixes #5585..click()
. Fixes #5635.click
event during action commands. Fixes #5578..type()
to not be typed. Fixes #5622.backface-visibility: hidden;
are now accounted for when asserting on the elemtent's visibility. Fixes #2985.cannot read property 'replace' of undefined
if the error's stack wasundefined
. Fixes #1669.Misc:
.click()
and.type()
commands within the console. Addresses #5553.Promise.defer
appearing in stderr when running with video recording enabled. Addresses #5611..rightclick()
and.dblclick()
have been updated to correctly reflect their accepted options. Addresses #5617.v3.6.0
Compare Source
Released 10/31/2019
Features:
testFiles
now also accepts an Array of glob patterns when specifying what test files to load in configuration. Addresses #5401.Bugfixes:
cy.route()
was limited to 8kb causing requests to fail with a 431 HTTP error. Fixes #5431.uncaught:exception
handler, and thus could not caught and ignored. These errors will also now correctly indicate that they came from application code. Fixes #987.cypress verify
when running as a non-root user on a non-Windows machine. We now always set the--no-sandbox
flag when verifying in Electron, even when running as a non-root user. Fixes #5434.cy.visit()
orcy.request()
. Fixes #5432.Cypress.env()
. Fixes #5435..click()
or.type()
inside of an iframe element. Fixes #5449. Fixes #5435.position:fixed
. Fixes #5430.click
events to not be sent to the correct elements during.click()
. Fixes #5459..type()
to properly respect focus selection changes during typing. Fixes #5456..type()
. Fixes #5439..type()
to input elements with typedate
,time
, anddatetime-local
so that it now behaves as it did prior to 3.5.0. Fixes #5476.Misc:
{multiple: true}
in the Command Log or the console duringcy.dblclick()
. Addresses #5406.Dependency Updates
express-handlebars
withsquirrelly
to reduce dependency size. Addressed in #5521.graceful-fs
from4.2.0
to4.2.3
. Addressed in #5497.Renovate 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.