chore(deps): update dependency cypress to version 6.9.1 🌟 #254
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:
5.3.0->6.9.1Release Notes
cypress-io/cypress
v6.8.0Compare Source
Released 3/17/2021
User Experience:
Bugfixes:
experimentalStudio, Cypress Studio the icon to add commands will now fully display on long test titles. Fixes #15182.v6.7.1Compare Source
Released 3/15/2021
Bugfixes:
scroll-behavior: smoothno longer fails Cypress's actionability check. Fixes #15453.projectIdwill be written correctly to thecypress.jsonfile on initial creation without an extra config object. Fixes #15497.v6.7.0Compare Source
Released 3/15/2021
Features:
experimentalRunEventsconfiguration flag has been removed. You can now listen tobefore:run,after:run,before:specandafter:specevents in the plugins file without needing theexperimentalRunEventsconfiguration option. See thebefore:run,after:run,before:specandafter:specdocs for more information. Addressed in #15276.Bugfixes:
cy.wait()no longer falsely returns a timeout when the user aborts an XHR. Fixes #9549..clear()and.type('{selectall}{del}')now behave the same when they're used against elements that contain text inputs. Fixes #8447.experimentalStudio, Cypress Studio now records typing by using the value of the input rather than the keys that were pressed. Studio also no longer records pressing special keys (such as arrows or ctrl) except for Enter. Fixes #15023.mouse downevent, fixes #8279.Misc:
Dependency Updates:
electronfrom11.2.3to11.3.0. Addressed in #15201.v6.6.0Compare Source
Released 2/18/2021
Features:
Dependency Updates:
ramdato version0.27.1. Addressed in #14958.v6.5.0Compare Source
Released 2/15/2021
Performance:
cypress openandcypress run. Addresses #15075.Bugfixes:
Cypress.ondid not support chaining. Addresses #14991..zipcould become corrupted and break the install process. Addresses #4595.Misc:
autoEndto the types forLogConfig. Addresses #9590.Dependency Updates:
electronto version11.2.3. Addresses #15056.v6.4.0Compare Source
Released 2/1/2021
Features:
delayMsoption forcy.intercept()has been renamed todelay.delayMswill still work, but it is deprecated and will be removed in a future release. Addresses #14822.Bugfixes:
cy.type()commands. Addresses #14684.watchForFileChanges: false. Addresses #14744.cy.click()beforecy.type(). Addresses #14685.cy.interceptwhere aliases set viareq.aliascontaining a period character would not work as expected. Addresses #14444.cy.interceptwould not work as expected. Addresses #14446 and #14511.Misc:
Dependency Updates:
recastto version0.20.4. Addresses #14623.registry-jsto version1.13.0. Addresses #14668.@cypress/get-windows-proxyto version1.6.2. Addresses #14711.systeminformationto version4.31.1. Addresses #14715.semantic-releaseto version17.2.3. Addresses #14713.electron to version11.2.1`. Addresses #14764.v6.3.0Compare Source
Released 1/19/2021
Features:
experimentalStudioattribute to your configuration,cypress.jsonby default. Address #73.downloadsFolderwhich is set tocypress/downloadsby default. ThedownloadsFolderwill be deleted before each run unlesstrashAssetsBeforeRunsis set tofalse. Addresses #949.Bugfixes:
.only, the error will now correctly display in the Command Log. Fixes #14455.--keyflag when followed by other CLI flags. Fixed #14593.afterEachhook. Fixes #9209.waitForAnimationsset tofalseno longer affects whether Cypress fires actions on inner elements. Fixes #14370.CYPRESS_prefixed env variables containing commas to be parsed as multiple values. Fixes #8818.have.valueon an undefined subject would throw an error. Fixes #14359.Misc:
Dependency Updates:
node-sasswithsass. Addressed in #14415.debugfrom4.1.1to4.3.1. Addressed in #14583.electronfrom11.0.3to11.2.0. Addressed in #14567.electron-builderfrom22.8.0to22.9.1. Addressed in #14493.shell-envfrom3.0.0to3.0.1. Addressed in #14622.uuidfrom8.2.0to8.3.2. Addressed in #14170.v6.2.1Compare Source
Released 1/4/2021
Bugfixes:
cypress run. Fixes #9040.multipart/form-datais no longer wrongly encoded when usingcy.intercept(). This should preventUnexpected end of multipart dataerrors on the back end service where the request was pointing to. Fixes #9359.cy.contains()no longer throws an error when a single quote is used inside its argument when RegExp. Fixes #8626.capture: 'runner'to acy.screenshot()command inside.within()now screenshots the entire Test Runner as expected. Fixes #14253.Cypress.dom.isJquery()now always returns a boolean instead ofundefinedsometimes. Fixes #14278.calledOnceWithandcalledOnceWithExactlysinon matchers no longer throw an error when used within Cypress. Fixes #9644.--disable-backgrounding-occluded-windowsas a default flag to Chrome to prevent backgrounding rendering when the Cypress window is occluded. Fixes #9604.Misc:
Dependency Updates:
devtools-protocolfrom0.0.734984to0.0.839267. Addressed in #14353.electronfrom11.0.3to11.1.1. Addressed in #14352.v6.2.0Compare Source
Released 12/21/2020
Features:
before:runandafter:runevents in the plugins file. See thebefore:runandafter:rundocs for more information. Addressed in #14238 and #14263.before:specandafter:specevents in the plugins file. See thebefore:specandafter:specdocs for more information. Addressed in #9646 and #14178.Timed out retryingerror message now displays the amount of time Cypress retried. Addresses #5781.Bugfixes:
cy.intercept()usingcy.get()will no longer always yieldnull. Fixes #9306.cy.intercept()will now automatically responds to CORS preflight requests (HTTPOPTIONSrequests) that match defined routes. Fixes #9599.forceNetworkErrorcan now be awaited usingcy.intercept()andcy.wait(). Fixes #9062.cy.log()inside.then()no longer breaks the subject value in the command chain. Fixes #8084.Cypress.Commands.overwriteto overwrite.then()now preserves the properthiscontext and sets aliases correctly. Fixes #5101.Cypress.Commands.overwriteto overwritecy.route()orcy.intercept()and wait on its alias now properly works. Fixes #3890 and #9580.Misc:
scrollBehavioris now an allowed type when passed as test configuration. Addresses #9643.FileObjecttype for the file argument of thefile:preprocessorevent now includes theEventEmittertype. Addresses #9276.Dependency Updates:
electronfrom11.0.2to11.0.3. Addressed in #9409.v6.1.0Compare Source
Released 12/07/2020
Features:
scrollBehaviorconfiguration option that controls the viewport position when an element is scrolled prior to action commands. Possible values are'top','bottom','center','nearest', andfalse, with'top'being the default.scrollBehavior: falsedisables scrolling altogether.scrollBehaviorcan be specified in global configuration, test configuration or individual action commands viaoptions. Addresses #871 and #4356.Bugfixes:
cy.intercept()will now automatically setAccess-Control-Allow-OriginandAccess-Control-Allow-Credentialsto permissive values unless explicitly overridden. Fixes #9264.Cannot read property "fireChangeEvent" of undefinederror will no longer throw during a race condition when usingcy.intercept(). Cannot read property "fireChangeEvent" of undefined when stubbing with route2 in Chrome cypress-io/cypress#9170cy.intercept(). Fixes #8934 and #8999.cy.intercept()unless dynamically intercepted. Addressed in #9097.before()hook. Fixes #9162./from URLs when they are explicitly passed with query paramaters. Fixes #9360.Cypress.dom.isVisiblebehavior for elements withposition: fixed, addresses #8998 and #9031.Deprecations:
Deprecations still work as before but will be removed from Cypress in a future release. We encourage you to update your code now to remove uses of deprecations.
Cypress.momenthas been deprecated and will be replaced in a future release. Consider migrating to a different datetime formatter. Addresses #8714.Misc:
waitForAnimationsandanimationDistanceThresholdtypes are now included for all actionable commands. Addresses #8854.Dependency Updates:
mocha-junit-reporterfrom1.23.1to2.0.0. Addressed in #9528.v6.0.1Compare Source
Released 11/30/2020
Bugfixes:
Option 'sourceMap' cannot be specified with option 'inlineSourceMap'error to throw when settingsourceMapin your tsconfig. Fixes #8477.cy.screenshot()no longer throws an"offset" is out of rangeerror when Cypress attempts to crop the image. Fixes #2034.cy.screenshot()types won't mistakenly display the command as deprecated. Fixes #9303.cy.intercept(). Fixes #9313.v6.0.0Compare Source
Released 11/23/2020
Summary:
Cypress now offers full network stubbing support with the introduction of the
cy.intercept()command (previouslycy.route2()). Withcy.intercept()your tests can intercept, modify and wait on any type of HTTP request originating from your app.Breaking Changes:
Please read our Migration Guide which explains the changes in more detail and how to change your code to migrate to Cypress 6.0.
not.exist). Assertions such asnot.visible,not.contains,not.have.class, etc will now fail when used on non-existent DOM elements. Addresses #205.opacity: 0are no longer considered visible. However these are still considered actionable and "any action commands" interacting-with-elements#Actionability used to interact with the element will perform the action. This matches browser's implementation on how they regard elements withopacity: 0. Addresses #4474.cy.wait(alias)has changed in order to support use ofcy.intercept(). Addressed in #9266.experimentalNetworkStubbingoption has been removed and made the default behavior. You can safely removed this configuration option. Addressed in #9185..type()and.click()on elements inside acontenteditableelement, the events are now properly triggered on the inside elements. This may cause unintended consequences if you were relying on the previous behavior. Addressed in #9066.http.STATUS_CODES. If you have code that relies on a reason phrase, then this could affect you. Addressed in #8969.cy.intercept()are now automatically parsed, removing the need to manually doJSON.parse. Addressed in #9280.Deprecations:
Deprecations still work as before but will be removed from Cypress in a future release. We encourage you to update your code now to remove uses of deprecations.
cy.server()andcy.route()have been deprecated. In a future release, support forcy.server()andcy.route()will be moved to a plugin. We encourage you to usecy.intercept()instead. Addressed in #9185.experimentalFetchPolyfillhas been deprecated. We encourage you to usecy.intercept()to intercept requests using the Fetch API instead.cy.route2()was renamed tocy.intercept(). We encourage you to update usages ofcy.route2()to usecy.intercept(). Addressed in #9182.Features:
cy.intercept()command can be used to manage the behavior of HTTP requests at the network layer. Addressed in #9182.—disable-dev-shm-usageto the Chrome browser flags by default. This will write shared memory files into/tmpinstead of/dev/shm. If you're passing this flag in yourpluginsfile, you can now remove this code. Addresses #5336.cypress versioncommand now also displays the current Electron and bundled Node versions. Addresses #9180.cypress versioncommand now accepts a--componentflag that allows you to print the version of specific components of Cypress. ie Electron, Node, etc. Addresses #9214.Bugfixes:
.type()to not type the entire string when focus was called away from the target element. Fixes #9254..type()and.click()now properly work on elements inside acontenteditableelement. Fixes #2717 and #7721.Content-Lengthforcy.route2request bodies could be incorrectly recalculated. Fixes #9166.Documentation Changes:
cy.intercept()in place ofcy.route()including our Network Requests doc.Misc:
redirectsand changedredirectedToUrloptional for Response types. Addresses #9275.Dependency Updates
cypress runand when selecting Electron browser incypress openfrom85to87. Addressed in #9222.12.16.3to12.18.3. Addressed in #9222.electronfrom10.1.5to11.0.2. Addressed in #9222.v5.6.0Compare Source
Released 11/09/2020
Features:
cy.route2(). See an example. Addresses #387.cy.type(). You can now type shortcuts like{ctrl+z}. Addressed in #5694.Bugfixes:
cy.visit()on sites withcontent-typeoftext-htmlfollowed by parameters (liketext/html;charset=utf-8) will no longer throw an error about visiting a site with an invalid content-type. Fixes #8506Cannot access 'continueSent' before initializationerror will no longer throw when usingcy.route2(). Fixes #8926.cy.route2()should now work properly. Addressed in #9059.cy.route2()requests are displayed in the Command Log has been improved, including showing the progress bar correctly. Addresses #9053.Cannot read property 'replace' of undefinederror will no longer throw when attempting to generate the stack trace from an error thrown in the application. Fixes #7915.fixture:prefix as a stubbed response tocy.route(), JSON fixtures containing only a number or boolean will no longer throw an error. Fixes #4899.Misc:
.invoke()and.its()now allow for atimeoutoption. Addresses #9079.cy.task()now allow for parameterizing the task return type. Addresses #7136.cypress cache listwhen no cached versions are found. Addresses #6303.Dependency Updates:
commanderfrom^4.1.1to^5.1.0. Addressed in #8979.semverfrom6.3.0to7.3.2. Addressed in #9068.systeminformationfrom4.26.9to4.27.11. Addressed in #8979.node-webkit-updater. This should remove some security warnings that were shown during install. Addresses #8314.v5.5.0Compare Source
Released 10/26/2020
Features:
cy.viewport()has a newmacbook-16preset. Addresses #8889..type()now fires thebeforeInputevent during typing. Note: Firefox does not support thebeforeinputevent. Addresses #7088.Bugfixes:
cy.route2where HTTPS requests to a non-AUT origin would not be intercepted as expected.cy.route2()now properly handles passing a method as its first argument. Fixes #8729.cy.route2()where a "Cannot set property response of undefined" error would occasionally occur. Fixes #8858.cy.route2()now serve the correct mime-type and content. Fixes #8623.experimentalNetworkStubbingis enabled, usingcy.visit()to URLs that redirect and set Transfer-Encoding: chunked will no longer fail in Cypress with a "Parse Error". Fixes #8497.cypress.run()through the Module API now has astatusproperty in the results matching the correct CLI types ("failed"or"finished"). Addresses #8798.echaracter is passed to the--ci-build-idflag, Cypress now properly reads it as a string. Fixes #8874.Misc:
runModeoropenModetoretriesalone. Addresses #8869.Dependency Updates:
electronfrom10.1.3to10.1.5. Addresses #8927, #8975.color-stringfrom1.5.3to1.5.4. Addresses #8945.pretty-bytesfrom^5.3.0to^5.4.1. Addresses #8964.v5.4.0Compare Source
Released 10/14/2020
Features:
cypress cache pruneto delete all installed Cypress versions from the cache except for the currently-installed version. Addresses #5972.--sizeoption for thecypress cache listcommand that prints the sizes of the Cypress cache folders. Addresses #6404.--browserflag, likecypress open --browser C:/User/App/browser.exe:chrome, to help detect the browser type. Addresses #6389.cy.viewport()has newiphone-7,iphone-8, andiphone-se2presets. Addressed in #8624CYPRESS_NO_COMMAND_LOG=1environment variable duringcypress openorcypress runto be used as a tool to debug performance issues. Addressed in #8689.Bugfixes:
chromeWebSecurityoption had no effect in Electron. Fixes #8399.test:after:runevent listener. Fixes #2271 and #8701..within()and "cy.get()" is called inside it, the scope will no longer permanently change. Fixes #2106, #4672, #4757, and #5183.cy.contains()when used after an.each()commands now query as expected. Fixes #4921./is no longer added to the URL whenbaseUrlhas param(s). Fixes #2101.cy.route2()the route handler timeouts will no longer leak into other tests and cause random failures. Addressed in #8727.Misc:
cy.route2(). Addresses #8694 and #8782.Dependency Updates:
cypress runand when selecting Electron browser incypress openfrom83to85. Addressed in #8406.12.14.1to12.16.3. Addressed in #8406.electronfrom9.2.1to10.1.3. Addressed in #8406.firefox-profilefrom2.0.0to4.0.0. Addressed in #8786.node-forgefrom0.9.0to0.10.0. Addressed in #8800.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.