chore(deps): update dependency cypress to v3.8.3 #110
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.3.1
->3.8.3
Release Notes
cypress-io/cypress
v3.8.3
: 3.8.3Compare 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
: 3.8.2Compare 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
: 3.8.1Compare 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
: 3.8.0Compare 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
: 3.7.0Compare 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
: 3.6.1Compare 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
: 3.6.0Compare 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.v3.5.0
: 3.5.0Compare Source
Released 10/23/2019
Features:
cypress run
in Chrome, Chromium, and Canary browsers. This requires passing the name or path of the Chrome browser to the--browser
flag. Addresses #4608..rightclick()
command to right click on DOM elements. Addresses #53.--config-file
argument to specify a different file to be used for Cypress configuration. You can also passfalse
to the--config-file
to not use any configuration file. Addresses #1369.nodeVersion
tosystem
in your configuration. This Node version will be used to build files in yourintegrationFolder
and "supportFile
" configuration#Folders-Files and also be used to execute code in your "pluginsFile
" configuration#Folders-Files. If not set, Cypress will continue to use the Node version bundled with Cypress. Addresses #4432..dblclick()
dblclick now acceptsposition
,x
, andy
arguments. Addresses #116..dblclick()
dblclick now acceptsforce
andmultiple
in itsoptions
. Addresses #116..screenshot()
now accepts apadding
argument when screenshotting elements that will alter the dimensions of the screenshot of the element. Addresses #4440.cy.visit()
now accepts aqs
option representing an object of query paramaters to be used in the URL. Addresses #5034.cy.viewport()
now allows for viewport sizes up to 4,000 pixels. Addresses #5181.cy.viewport()
accepts new size presets foriphone-xr
,iphone-x
,samsung-s10
andsamsung-note9
. Addresses #4967.~
toCYPRESS_CACHE_FOLDER
will automatically resolve to the user's home directory. Addresses #5386.Bugfixes:
.dblclick()
dblclick and.click()
now fire all appropriate mouse events includingmouseover
,mousemove
,mouseout
,pointerdown
,pointerup
, andpointermove
. Fixes #1016, #1847, #2045, #2521, #2768, #2928, #2957, and #3224..dblclick()
dblclick to follow the same actionability checks as.click()
. Fixes #3798..click()
are now correct if the element being clicked is within an iframe. Fixes #4347..type()
to be used on any DOM element. The element will receive all of the type events. Fixes #2166 and #3661..type()
, Cypress now continues typing into the newly focused element. Fixes #2240.maxLength
when using .type() on an input. Fixes #4587.datetime-local
inputs would not have theirvalue
updated during.type()
. Fixes #2613..type()
now allows you to type-
into number inputs with text selection. Fixes #4767.input
event when using.type()
typing{enter}
inserts a newline. Fixes #4870.{shift}
modifier keys are typed in.type()
. Fixes #5424.code
property during keyboard events triggered during.type()
. Fixes #3722screenX
andscreenY
properties to events triggered using.trigger()
. Fixes #3187.cy.visit()
to IP addresses over HTTPS, leading toERR_SSL_VERSION_OR_CIPHER_MISMATCH
errors. Fixes #771.cy.visit()
andcy.request()
with a "handshake failed" error. Fixes #4394.cy.visit()
that was introduced in 3.3.0. Fixes #4368.Cypress.env()
now escapes<script>
tags in the configuration file. Fixes #4952.content-type
application/vnd.api+json
to JSON. Fixes #5165.cy.route()
that exceed 80kb in size no longer fail with anERR_EMPTY_RESPONSE
error. Fixes #76.dest.end
errors on Windows machines. Fixes #2181.onFocus
event no longer incorrectly fires on hidden elements. This fixes an issue introduced in 3.3.2. Fixes #4898..click()
on inputs or textareas that arereadonly
. This fixes an issue introduced in 3.4.1. Fixes #4874."port" option should be a number or string
error when receiving an erroneous HTTP CONNECT. Fixes #3250.done()
callback is not called within thecommandTimeout
. Fixes #1075, #2478, #3349, and #4790.ENOTCONN
error at the end of a test run when using Node >12.11.0 on Windows OS. Fixes #5241..
in Chrome 77. Fixes #5142 and #5206..js
file containing Unicode transferred usingContent-Encoding: gzip
that could cause the JavaScript file to become corrupted. Fixes #1746.node_modules/cypress
folder. Fixes #2364.Misc:
Could not start Xvfb
was being thrown because Xvfb could not start within the allowed time. Addresses #5110.cypress run
from the binary directly (not from an npm module) since this is not its intended use. Addresses #1573.cy.visit('file://...)
to explain that this url format is not supported and suggest visiting a relative HTML file. Addresses #4452.CYPRESS_ENV
environment variable will now throw an error. Addresses #1621.browser
argument of the Browser Launch API explaining that a String is expected instead. Addresses #4966.name
orvalue
is supplied tocy.setCookie()
, matching the RFC 6265 compliant validation of cookie names and values. Addresses #5206.cy.get()
now throws an error explaining that anoptions
Object is expected. Addresses #2953.cy.screenshot()
that would result in a screenshot with 0 width or height. Addresses #5149.cypress run
no longer truncates text such a filenames and instead wraps the text to fit within the width of the terminal. Addresses #4977.cy.request()
errors. Addresses #3145.localhost
to be inNO_PROXY
. To make Cypress send traffic forlocalhost
through the proxy, you will now have to pass<-loopback>
inNO_PROXY
. Addresses #4780.cy.visit()
to more closely match the browser's behavior when setting cookies, particularly when usingfetch
with cookies. Addresses #4433.--disable-backgrounding-occluded-window
,--disable-breakpad
,--disable-ipc-flooding-protection
,--password-store=basic
, and--use-mock-keychain
. Addresses #5132 and #3633.Cypress.Commands.overwrite()
to not allow anoptions
object as an argument. Addresses #5341.failures
andmessage
types when a run fails using the Module API. Addresses #5335.Documentation Changes:
.rightclick()
doc..dblclick()
doc to include newposition
,x
, andy
arguments plusforce
andmultiple
options.--config-file
argument to Command Line and Module API doc.nodeVersion
argument to Configuration doc and mentioned its uses in the Plugins Guide and Writing a Plugin doc.cypress.json
file since this is not configurable via a--config-file
argument.qs
option tocy.visit()
with examples.padding
option tocy.screenshot()
with examples.cy.viewport()
doc to have a max viewport size of4000
.cy.viewport()
doc.cypress-fiddle
plugin used for playing around with small test cases.url
in thecy.route()
doc.file://
prefix is not supported in thecy.visit()
doc.<-loopback>
inNO_PROXY
is necessary in the Proxy Configuration doc.Dependency Updates
cypress run
and when selecting Electron browser incypress open
from61
to73
. Addressed in #4720.electron
from2.0.18
to5.0.10
. Addressed in #4720.node
from8.9.3
to12.0.0
. Addressed in #4720.jquery
from2.2.4
to3.1.1
. Addressed in #1229.sanitize-filename
from1.6.1
to1.6.3
. Addressed in #5216.@cypress/get-windows-proxy
from1.5.4
to1.6.0
. Addressed in #5108.v3.4.1
: 3.4.1Compare Source
Released 7/29/2019
Dashboard Features:
Bugfixes:
and
chainable getter. Fixes #4833.include
andincludes
assertion chainers now correctly work the same ascontain
andcontains
assertion chainers. Fixes #4833.cy.type()
now factors in thereadonly
property of<input />
elements, and will wait for this property to befalse
before attempting to type. Fixes #1246.top
andlocation
in your application code are no longer modified whenmodifyObstructiveCode
istrue
. Fixes #4794.mocha-teamcity-reporter
dependency so that it no longer errors in certain situations when trying to access duration on tests. Fixes #4654.lodash
dependency to fix a security vulnerability warning. Fixes #4699, #4730, #4743.Misc:
react
,mobx
, etc. This should help to prevent conflicts with Developer Tools extensions and increase performance by reducing memory, heap allocation, and overall JS bundle size. Addresses #4844.npm install
. Addresses #4719.npm
package. Addresses #1573.cy.location()
and.should()
. Addresses #3684 and #4715.cy.contains(content, options)
syntax have been added. Addresses #4727.cy.once()
have been added. Addressed in #4788.{ parseSpecialCharSequences: false }
option tocy.type()
that disables parsing the special character sequences found between the{}
characters. This will now type what you've provided literally without any special parsing. Fixes #4287.Documentation Changes:
Dependency Updates
@ffmpeg-installer/ffmpeg
from1.0.17
to1.0.19
. Addressed in #4792.browserify
from13.3.0
to16.3.0
. Addressed in #4751, #4825 and #4826.data-uri-to-buffer
from1.2.0
to2.0.1
. Addressed in #4622.duplexify
from4.0.0
to4.1.1
. Addressed in #4853.graceful-fs
from4.1.15
to4.2.0
. Addressed in #4818.lodash
from4.17.11
to4.17.15
. Addressed in #4684, #4709, #4784.mocha-junit-reporter
from1.23.0
to1.23.1
. Addressed in #4785.p-queue
from1.2.0
to6.1.0
. Addressed in #4750.semver
from6.0.0
to6.3.0
. Addressed in #4797.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.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 Mend Renovate. View repository job log here.