Update dependency cypress to ~4.12.0 #23
Open
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:
~4.5.0
->~4.12.0
Release Notes
cypress-io/cypress
v4.12.1
: 4.12.1Compare Source
Released 8/5/2020
Bugfixes:
Cannot set property 'err' of undefined
will no longer incorrectly throw when rerunning tests in the Test Runner. Fixes #7874.before
hook will now correctly run the tests in the suite following the skipped test. Fixes #8086.Dependency Updates:
md5
from2.2.1
to2.3.0
. Addressed in #8161.electron-context-menu
from0.15.1
to2.2.0
. Addressed in #8180.v4.12.0
: 4.12.0Compare Source
Released 8/3/2020
Features:
cypress run
by setting screenshotOnRunFailure in your configuration. Addresses #5029.pluginsFile
now has access to a readonlyversion
property within theconfig
object that returns the current Cypress version being run. This will allow plugins to better target specific Cypress versions. Addresses #6352.cypress open
, you can now run a subset of all specs by entering a text search filter and clicking 'Run n tests'. Addresses #6581.Bugfixes:
position: fixed
elements that have a parent withpointer-events: none
will now correctly evaluate as visible. Fixes #6675.attributeChangedCallback
to be triggered on custom elements. Fixes #7187.+
characters now properly run in Cypress. Fixes #5909.fx
shortcut incy.route()
, an error is now thrown when the fixture file cannot be found. Fixes #7818.Cannot read property '__error' of null
error when passing a file containingnull
content tocy.fixture()
. Fixes #8010.--env
via the command line are now properly read. Fixes #6891.experimentalSourceRewriting
is enabled, AST rewriting will no longer return an output before the body is done being written. This would happen when the response body was too large and the response would be sent while the body was still being modified. Fixes #8043..type()
, Cypress now properly types into an input within an iframe that auto focuses the input. Fixes #8111.Misc:
cypress
npm package are no longer pinned to a specific version. This allows the use ofnpm audit fix
to fix security vulnerabilities without needing a patch release from Cypress. Addresses #8046.CypressCommandLine
namespace. Addresses #7309..should()
command. Addresses #5573.expiry
property type is now a Number instead of a String. Addresses #8144.Dependency Updates:
jimp
from0.13.0
to0.14.0
. Addressed in #8102.moment
from2.26.0
to2.27.0
. Addressed in #8122.v4.11.0
: 4.11.0Compare Source
Released 7/21/2020
Features:
ensureScrollability: false
option to.scrollTo()
to skip checking whether the element is scrollable. Addresses #1924.cy.clock()
now accepts Dates as well as a Number for now. Fixes #7786.Bugfixes:
cypress run
on Windows will no longer fail trying to make a connection to the browser. Fixes #6392.Cannot read property 'isAttached' of undefined
error duringcypress run
on Firefox versions >= 75. Fixes #6813.invalid for option "size"
error. Fixes #6099.viewportHeight
orviewportWidth
from within the test configuration now properly changes the viewport size for the duration of the suite or test.config
within thepluginsFile
now sets the values correctly. Fixes #7959.cy.wait()
now reflects the correctrequestTimeout
andresponseTimeout
of the command. Fixes #7881.ELECTRON_EXTRA_LAUNCH_ARGS
askey=value
will now be properly read in. Fixes #7994.cy.route()
now correctly display as 'xhr stub' in the Test Runner's Command Log. Fixes #8018.Misc:
pluginsFile
andsupportFile
now mention that.ts
extensions are supported. Addresses #7940.Dependency Updates:
@benmalka/foxdriver
from0.4.0
to0.4.1
. Addressed in #8040.firefox-profile
from1.3.1
to2.0.0
. Addressed in #8000.fix-path
from2.1.0
to3.0.0
. Addressed in #8028.human-interval
from0.1.6
to1.0.0
. Addressed in #8031.lodash
from4.17.15
to4.17.19
. Addressed in #7954.plist
from2.1.0
to3.0.1
. Addressed in #8045.proxy-from-env
from1.0.0
to1.1.0
. Addressed in #7900.resolve
from1.13.1
to1.17.0
. Addressed in #7989.systeminformation
from4.21.1
to4.26.9
. Addressed in #7975.uuid
from3.3.2
to8.2.0
. Addressed in #7976, #8002, and #8011.v4.10.0
: 4.10.0Compare Source
Released 7/7/2020
Features:
before
,beforeEach
,after
, andafterEach
hook definition in your IDE from the Test Runner's Command Log by clicking the Open in IDE button. Addresses #7793.before
,beforeEach
,after
, andafterEach
hook definitions now display separately in the Test Runner's Command Log when defined in separate hook definitions. Addresses #7779.Bugfixes:
responseTimeout
will no longer be prematurely canceled by the Cypress proxy layer. Fixes #6426.parent
variable will no longer throw Illegal Invocation errors. Fixes #6412.experimentalShadowDomSupport
is enabled, using.type()
on an input in the Shadow DOM will not result in an error. Fixes #7741.experimentalShadowDomSupport
is enabled, checking for visibility on a shadow dom host element will no longer hang if the host element was the foremost element and had an ancestor with fixed position. Fixes #7893.@benmalka/foxdriver
module will no longer appear if anyDEBUG
environment variable was set. Fixed #7723.Misc:
Dependency Updates:
recast
from0.18.8
to0.19.1
. Addressed in #7898.v4.9.0
: 4.9.0Compare Source
Released 6/23/2020
Features:
experimentalFetchPolyfill
configuration option. When this option istrue
, Cypress will automatically replacewindow.fetch
with a polyfill that Cypress can spy on and stub. Addresses #7710.--quiet
flag tocypress run
to silence any Cypress specific output from stdout. Addresses #7714.Bugfixes:
cy.wait()
now correctly resolves when waiting for XHR requests that contain resource-like text in the XHR's query params or hash (like.js
, .html
,.css
). #7280..click()
would hang if the subject had a shadow root andexperimentalShadowDomSupport
was not enabled. Fixes #7679..should('have.value')
now properly asserts against<progress>
,<meter>
or<li>
element's values. Fixes #7603.cypress run
when the stdout is too large. Fixes #7548.beforeEach
hook. Fixes #7731.experimentalShadowDomSupport
is enabled, querying shadow dom in certain situations will no longer cause the errorCannot read property 'length' of undefined
duringcypress run
. Fixes #7676.cypress run
will no longer crash when provided an empty string to the--project
flag. Fixes #7743.Misc:
fixturesFolder
,pluginsFile
,screenshotsFolders
andvideoCompression
have been updated to allowfalse
TypeScript types. Addresses #7654.cy.wait(ms)
now correctly yield the type of the previous subject. Addresses #7682.Dependency Updates:
arch
from2.1.1
to2.1.2
. Addressed in #7672.eventemitter2
from4.1.2
to6.4.2
. Addressed in #7705 and #7707.getos
from3.1.1
to3.2.1
. Addressed in #7685.is-installed-globally
from0.1.0
to0.3.2
. Addressed in #7703.jimp
from0.12.0
to0.13.0
. Addressed in #7618.moment
from2.24.0
to2.26.0
. Addressed in #7718.signal-exit
from3.0.2
to3.0.3
. Addressed in #7738.v4.8.0
: 4.8.0Compare Source
Released 6/8/2020
Features:
Cypress.isBrowser()
has been expanded to allow for new matcher arguments to assist in filtering matching browsers. Addresses #7168.experimentalShadowDomSupport
option. See the Experiments page for more information. Addresses #144.Bugfixes:
before
andafter
hooks defined in completed suites no longer erroneously rerun. Fixes #1987.after
hooks now correctly display in the Test Runner's Command Log. Fixes #2296.Cannot read property '__error' of null
. Fixes #7518.cy.visit()
to an authenticated URL would error withRequest cannot be constructed from a URL that includes credentials: /__cypress/runner/./wasm/mappings.wasm
Fixes #7481.pluginsFile
orsupportFile
when they are TypeScript files. Fixes #7459.cy.on('fail', fn)
fail handler now display a stack trace and code frame pointing to the origin of the error. Fixes #7512..click()
now properly clicks on wrapped inline elements when the first child element in the parent element has no width or height. Fixes #7434 and #7012.cy.wrap()
now properly respects thetimeout
option. It also better handles situations when passed a promise that never resolves. Fixes #5980.experimentalComponentTesting
is enabled, Cypress will no longer exit with SIGABRT in certain situations. Fixes #7572.S
shortcut during.pause()
no longer does anything. This prevents the Test Runner from getting into a 'stuck' state. Fixes #6867.Misc:
Cypress.config()
now has TypeScript types for thetaskTimeout
option. Addresses #7531.cy.screenshot()
options andCypress.log()
have been updated to be more accurate. Addresses #7445.Cypress.automation
have been added. Addresses #7519.--browser
flag that is not supported by Cypress. Addresses #6979.Dependency Updates:
chrome-remote-interface
from0.28.1
to0.28.2
. Addressed in #7615.electron
from8.3.0
to8.3.1
. Addressed in #7599.v4.7.0
: 4.7.0Compare Source
Released 5/26/2020
Features:
cy.request()
now supports anencoding
option that can be used to set the encoding of the response body, defaulting toutf-8
. Addresses #2029 and #3576.Bugfixes:
Misc:
v4.6.0
: 4.6.0Compare Source
Released 5/20/2020
Features:
@cypress/webpack-preprocessor
should upgrade to v5.4.1 or later of the package which will correctly inline source maps. Addresses #881, #1761 and #3966.experimentalSourceRewriting
configuration option totrue
. Addresses #5273.have.text
,have.id
,have.data
,have.value
, andhave.attr
assertions chainers are now automatically cast to strings for comparison. Addresses #7314.Bugfixes:
module: commonJS
which Node.js and the browser expect. This fixes a situation where setting a different module in atsconfig.json
would cause errors to throw if you hadexport
,import
orasync
keywords in your code. Fixes #7005, #7011, #7043, and #7151.experimentalSourceRewriting
is enabled, settinglocation
orlocation.href
to a relative href, or usinglocation.replace
orlocation.assign
with a relative href will no longer navigate the AUT to the wrong URL. Fixes #3975 and #3994.experimentalSourceRewriting
is enabled, the use ofwindow.top
andwindow.parent
will no longer cause the AUT to break out of the Cypress iframe. Fixes #5271 and #1467.experimentalSourceRewriting
is enabled, calls towindow.frames
,window.parent.frames
, and otherframes
will no longer point to the wrong reference after being proxied through Cypress. Fixes #2664.experimentalSourceRewriting
is enabled, scripts using theintegrity
attribute for sub-resource integrity (SRI) will now load after being proxied through Cypress. Fixes #2393.experimentalSourceRewriting
is enabled, the use ofdocument.location
to set the URL will no longer navigate the AUT to the wrong URL. Fixes #7402..click
will now click in the correct coordinates when either x or y coordinate options are zero. Fixes #7319.onError is not a function
when a browser can't connect. Fixes #7217.force: true
option to.select()
to select options within a disabled<select>
. Addresses #107..select()
an<option>
within a disabled<optgroup>
. Fixes #7226.Cypress._.capitalize
now correctly behaves the same as Lodash's capitalize method. Fixes #7222.experimentalComponentTesting
is enabled, clicking on a component spec now watches the correct file without assuming it is an integration file. Fixes #7244.cy.visit()
. Fixes #6193.Misc:
--version
command when looking for available browsers from 5 seconds to 30 seconds. Addressed in #7366.Cypress.ConfigOptions
types as a partial of the full options interface. Addresses #7238.Dependency Updates:
@cypress/browserify-preprocessor
from2.2.2
to2.2.3
. Addressed in #7291.cookie-parser
from1.4.4
to1.4.5
. Addressed in #7389.cypress-multi-reporters
from1.2.4
to1.4.0
. Addressed in #7431.electron
from8.2.3
to8.3.0
. Addressed in #7236 and #7387.image-size
from0.7.4
to0.8.3
. Addressed in #7236.jimp
from0.9.3
to0.12.0
. Addressed in #7408.return-deep-diff
from0.3.0
to0.4.0
. Addressed in #7292.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.