This repository was archived by the owner on Jan 23, 2024. It is now read-only.
chore(deps): update dependency cypress to v4 #143
Merged
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.8.3->4.9.0Release Notes
cypress-io/cypress
v4.9.0Compare Source
Released 6/23/2020
Features:
experimentalFetchPolyfillconfiguration option. When this option istrue, Cypress will automatically replacewindow.fetchwith a polyfill that Cypress can spy on and stub. Addresses #7710.--quietflag tocypress runto 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 andexperimentalShadowDomSupportwas not enabled. Fixes #7679..should('have.value')now properly asserts against<progress>,<meter>or<li>element's values. Fixes #7603.cypress runwhen the stdout is too large. Fixes #7548.beforeEachhook. Fixes #7731.experimentalShadowDomSupportis enabled, querying shadow dom in certain situations will no longer cause the errorCannot read property 'length' of undefinedduringcypress run. Fixes #7676.cypress runwill no longer crash when provided an empty string to the--projectflag. Fixes #7743.Misc:
fixturesFolder,pluginsFile,screenshotsFoldersandvideoCompressionhave been updated to allowfalseTypeScript types. Addresses #7654.cy.wait(ms)now correctly yield the type of the previous subject. Addresses #7682.Dependency Updates:
archfrom2.1.1to2.1.2. Addressed in #7672.eventemitter2from4.1.2to6.4.2. Addressed in #7705 and #7707.getosfrom3.1.1to3.2.1. Addressed in #7685.is-installed-globallyfrom0.1.0to0.3.2. Addressed in #7703.jimpfrom0.12.0to0.13.0. Addressed in #7618.momentfrom2.24.0to2.26.0. Addressed in #7718.signal-exitfrom3.0.2to3.0.3. Addressed in #7738.v4.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.experimentalShadowDomSupportoption. See the Experiments page for more information. Addresses #144.Bugfixes:
beforeandafterhooks defined in completed suites no longer erroneously rerun. Fixes #1987.afterhooks 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.wasmFixes #7481.pluginsFileorsupportFilewhen 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 thetimeoutoption. It also better handles situations when passed a promise that never resolves. Fixes #5980.experimentalComponentTestingis enabled, Cypress will no longer exit with SIGABRT in certain situations. Fixes #7572.Sshortcut 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 thetaskTimeoutoption. Addresses #7531.cy.screenshot()options andCypress.log()have been updated to be more accurate. Addresses #7445.Cypress.automationhave been added. Addresses #7519.--browserflag that is not supported by Cypress. Addresses #6979.Dependency Updates:
chrome-remote-interfacefrom0.28.1to0.28.2. Addressed in #7615.electronfrom8.3.0to8.3.1. Addressed in #7599.v4.7.0Compare Source
Released 5/26/2020
Features:
cy.request()now supports anencodingoption that can be used to set the encoding of the response body, defaulting toutf-8. Addresses #2029 and #3576.Bugfixes:
Misc:
v4.6.0Compare Source
Released 5/20/2020
Features:
@cypress/webpack-preprocessorshould upgrade to v5.4.1 or later of the package which will correctly inline source maps. Addresses #881, #1761 and #3966.experimentalSourceRewritingconfiguration option totrue. Addresses #5273.have.text,have.id,have.data,have.value, andhave.attrassertions chainers are now automatically cast to strings for comparison. Addresses #7314.Bugfixes:
module: commonJSwhich Node.js and the browser expect. This fixes a situation where setting a different module in atsconfig.jsonwould cause errors to throw if you hadexport,importorasynckeywords in your code. Fixes #7005, #7011, #7043, and #7151.experimentalSourceRewritingis enabled, settinglocationorlocation.hrefto a relative href, or usinglocation.replaceorlocation.assignwith a relative href will no longer navigate the AUT to the wrong URL. Fixes #3975 and #3994.experimentalSourceRewritingis enabled, the use ofwindow.topandwindow.parentwill no longer cause the AUT to break out of the Cypress iframe. Fixes #5271 and #1467.experimentalSourceRewritingis enabled, calls towindow.frames,window.parent.frames, and otherframeswill no longer point to the wrong reference after being proxied through Cypress. Fixes #2664.experimentalSourceRewritingis enabled, scripts using theintegrityattribute for sub-resource integrity (SRI) will now load after being proxied through Cypress. Fixes #2393.experimentalSourceRewritingis enabled, the use ofdocument.locationto set the URL will no longer navigate the AUT to the wrong URL. Fixes #7402..clickwill now click in the correct coordinates when either x or y coordinate options are zero. Fixes #7319.onError is not a functionwhen a browser can't connect. Fixes #7217.force: trueoption to.select()to select options within a disabled<select>. Addresses #107..select()an<option>within a disabled<optgroup>. Fixes #7226.Cypress._.capitalizenow correctly behaves the same as Lodash's capitalize method. Fixes #7222.experimentalComponentTestingis 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:
--versioncommand when looking for available browsers from 5 seconds to 30 seconds. Addressed in #7366.Cypress.ConfigOptionstypes as a partial of the full options interface. Addresses #7238.Dependency Updates:
@cypress/browserify-preprocessorfrom2.2.2to2.2.3. Addressed in #7291.cookie-parserfrom1.4.4to1.4.5. Addressed in #7389.cypress-multi-reportersfrom1.2.4to1.4.0. Addressed in #7431.electronfrom8.2.3to8.3.0. Addressed in #7236 and #7387.image-sizefrom0.7.4to0.8.3. Addressed in #7236.jimpfrom0.9.3to0.12.0. Addressed in #7408.return-deep-difffrom0.3.0to0.4.0. Addressed in #7292.v4.5.0Compare Source
Released 4/28/2020
Features:
experimentalComponentTestingconfiguration option totrue. For more details see the cypress-react-unit-test and cypress-vue-unit-test repos. Addresses #5922 and #6968.Bugfixes:
modifyObstructiveCodeistrue. Fixes #7138.Misc:
yarn upgradeCypress instead ofyarn addto help prevent installing 2 versions of Cypress when using yarn workspaces. Addressed in #7101.Dependency Updates:
electronfrom8.2.0to8.2.3. Addressed in #7079.v4.4.1Compare Source
Released 4/20/2020
Bugfixes:
mouseupevent's target element is detached before issuing theclickevent during.click(). Fixes #6923.undefinedorganization ID during project setup when the default organization is preselected. Fixes #7013.Feature-Policy: document-domain 'none'headers would fail to load in Cypress. Fixes #6480.Misc:
nullorundefined. Addresses #6126.v4.4.0Compare Source
Released 4/13/2020
Features:
Bugfixes:
This socket has been ended by the other partyerror when testing applications that make use of WebSockets. Fixes #6458.optionsobject passed into Cypress commands so that they're not mutated and receive the properoptions. Fixes #3171.Set-Cookievalues could cause requests to fail with acannot read property key of undefinederror. Now, invalidSet-Cookievalues will be ignored. Fixes #6890.Misc:
cypress --version,cypress version,cypress cache path, orcypress cache listcommands when npm log level issilentorwarn. Addresses #2705.cy.task()error message is now more specific about the promise resolution value required. Addresses #6241.Dependency Updates:
http-proxyfrom1.17.0to1.18.0. Addressed in #6934.v4.3.0Compare Source
Released 3/30/2020
Features:
sameSitevalues viacy.setCookie(). Addresses #2437.sameSitevalues to the objects yielded fromcy.setCookie(),cy.getCookie(), andcy.getCookies(). Users can enable this by setting theexperimentalGetCookiesSameSiteconfiguration value totrue. In Cypress 5, this will be the default. Addresses #2437.SameSitecookie attribute incy.request(),cy.visit(), and proxied HTTP requests. Addresses #6757..should()) and fails, it now shows the diff in thestdout. Addresses #6722.Bugfixes:
Parse Error: Invalid header value charorParse Error: Header overflow. Fixes #5602.foo=bar; Domain=.cypress.testwill now be sent during cy.request() tohttp://local.cypress.test. Fixes #6628.vue-fragmentelements no longer throw an unexpected error. Fixes #6745..onlythat throw an error. Fixes #6744.firefoxGcIntervalcan now correctly be set tonull. Fixes #6825.Misc:
tagproperty when using Module API. Addresses #6795.Dependency Updates
cypress runand when selecting Electron browser incypress openfrom80.0.3987.141to80.0.3987.158. Addressed in #6855.electronfrom8.1.1to8.2.0. This bumps the bundled Chromium to80.0.3987.158. Addressed in #6855.@benmalka/foxdriverfrom0.2.3to0.3.0. Addressed in #6592.@cypress/get-windows-proxyfrom1.6.0to1.6.1. Addressed in #6823.execafrom1.0.0to4.0.0. Addressed in #6013.extract-zipfrom1.6.7to1.7.0. Addresses #6845 in #6845.firefox-profilefrom1.3.0to1.3.1. Addressed in #6594.get-portfrom5.1.0to5.1.1. Addressed in #6854.mimefrom1.6.0to2.4.4. Addressed in #6764.minimistfrom1.2.2to1.2.5. Addressed in #6747.squirrellyfrom7.7.0to7.9.2. Addressed in #6735.v4.2.0Compare Source
Released 3/16/2020
Features:
--headedmode. Addresses #1767.cypress cache listnow 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 openwhen there was an exception if thrown in anafterhook. Fixes #6619.cypress verifyno longer incorrectly prints messaging about this being the first time using that Cypress version. Fixes #6607.DEBUGlogs are enabled. Fixes #6662.Misc:
CYPRESS_INTERNAL_ENVto 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.rightclickcommand'spositionargument. Addresses #6341..its()and.invoke(). Addresses #6431.Cypress.dom.isDetachedno 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 runand when selecting Electron browser incypress openfrom78to80. Addressed in #6555.electronfrom7.1.13to8.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/ffmpegfrom1.0.19to1.0.20. Addressed in #6686.minimistfrom1.2.0to1.2.2. Addressed in #6726.requestwithcypress-io/request. Addressed in #6679.v4.1.0Compare Source
Released 2/28/2020
Features:
cypress infocommand to see the locally detected browsers and other information related to Cypress. Addresses #4540.baseUrlis running within the warning message duringcypress open. Addresses #3284.configargument now includesprojectRoot(absolute path to the root of the project) andconfigFile(absolute path to the configuration file). Addresses #5941.Bugfixes:
xhr.onreadystatechangeis accessed. Fixes #5864.cypress installwould not complete on Node.js 8.0.0. Fixes #6512 and #6568.cy.clearLocalStorage()" clearlocalstorage now properly accepts thelogoption 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
electronfrom7.1.10to7.1.13. Addressed in #6566.v4.0.2Compare Source
Released 2/14/2020
Bugfixes:
@cypress/browserify-preprocessorto2.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.1Compare Source
Released 2/7/2020
Bugfixes:
Misc:
v4.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 anoptionsobject with anargsproperty in order to support more advanced browser launch options. Addresses #6306.chromiumset as theirfamilyfield. Addresses #6243.--browserflag no longer acceptscanaryas its sole argument to run Chrome Canary. You now have to specifychrome:canaryto use the Chrome Canary browser. Addresses #6243.cy.writeFile()now yieldsnullinstead 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.browserobject with a newchannelproperty which contains the release channel of the detected browser. Addresses #6243..onlyto multiple tests or suites will now run all tests with the.onlyproperty. Addresses #2828.isFiniteassertion is now supported. Addresses #5669.emptyassertion is now supported when used against Map objects. Addresses #6072.nestedassertion chainer property is now supported. Addresses #3080 and #5004.Bugfixes:
.onlywhen 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_profilerdebug stream. Addresses #6169.Dependency Updates
@benmalka/foxdriver. Addressed in #1359.@cypress/browserify-preprocessorfrom1.1.2to2.1.1. Addressed in #4308 and #4226.bluebirdfrom3.5.0to3.7.2. Addressed in #4226.cachedirfrom1.3.0to2.3.0. Addressed in #4208 and #4226.chaifrom3.5.0to4.2.0. Addressed in #2862 and #4226.chai-as-promisedfrom6.0.0to7.1.1. Addressed in #4226.chalkfrom2.4.0to3.0.0. Addressed in #4226.commanderfrom2.15.1to4.0.1. Addressed in #4208 and #4226.debugfrom2.15.1to4.0.1. Addressed in #4226.execafrom0.10.0to3.3.0. Addressed in #4226.firefox-profiler. Addressed in #1359.foxdriver. Addressed in #1359.fs-extrafrom5.0.0to8.1.0. Addressed in #4226.getosfrom3.1.1to3.1.4. Addressed in #4226.is-cifrom1.2.1to2.0.0. Addressed in #4226.mochafrom2.5.3to7.0.1. Addressed in #2703 and #4226.listrfrom0.12.0to0.14.3. Addressed in #4226.log-symbolsfrom2.2.0to3.0.0. Addressed in #4226.marionette-client. Addressed in #1359.ramdafrom0.24.1to0.26.1. Addressed in #4226.sinonfrom3.2.0to8.1.1. Addressed in #2881 and #4226.strip-ansifrom3.0.1to6.0.0. Addressed in #1359.systeminformation. Addressed in #1359.support-colorsfrom5.5.0to7.1.0. Addressed in #4208 and #4226.untildifyfrom3.0.3to4.0.0. Addressed in #4226.Renovate configuration
📅 Schedule: "after 5pm on friday" (UTC).
🚦 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.