Update dependency cypress to v3.8.0 #327
Merged
+13
−6
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.4.1
->3.8.0
Release Notes
cypress-io/cypress
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.v3.5.0
Compare 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.Renovate configuration
📅 Schedule: "before 3am on the first day of the month" (UTC).
🚦 Automerge: Enabled.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.