Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Update dependency @cypress/vite-dev-server to v5 #703

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 3, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@cypress/vite-dev-server (source) 2.2.3 -> 5.0.2 age adoption passing confidence

Release Notes

cypress-io/cypress

v5.0.2

Compare Source

v5.0.1

Compare Source

v5.0.0: 5.0.0

Compare Source

Released 8/19/2020

Summary:

Cypress now includes support for test retries! Similar to how Cypress will retry assertions when they fail, test retries will allow you to automatically retry a failed test prior to marking it as failed. Read our new guide on Test Retries for more details.

Breaking Changes:

Please read our Migration Guide which explains the changes in more detail and how to change your code to migrate to Cypress 5.0.

  • The cypress-plugin-retries plugin has been deprecated in favor of test retries built into Cypress. Addresses #​1313.
  • The Cypress.Cookies.defaults() whitelist option has been renamed to preserve to more closely reflect its behavior. Addressed in #​7782.
  • The blacklistHosts configuration has been renamed to blockHosts to more closely reflect its behavior. Addressed in #​7622.
  • The cy.server() whitelist option has been renamed to ignore to more closely reflect its behavior. Addresses #​6642.
  • libgbm-dev is now a requirement to run Cypress on Linux. Addressed in #​7791.
  • Values yielded by cy.setCookie(), cy.getCookie(), and cy.getCookies() will now contain the sameSite property if specified. Addresses #​6892.
  • The experimentalGetCookiesSameSite configuration flag has been removed, since this behavior is now the default. Addresses #​6892.
  • The return type of the Cypress.Blob methods arrayBufferToBlob, base64StringToBlob, binaryStringToBlob, and dataURLToBlob have changed from Promise<Blob> to Blob. Addresses #​6001.
  • Cypress no longer supports file paths with a question mark ? in them. We now use the webpack preprocessor by default and it does not support files with question marks. Addressed in #​7982.
  • For TypeScript compilation of spec, support, and plugins files, the esModuleInterop option is no longer coerced to true. If you need to utilize esModuleInterop, set it in your tsconfig.json. Addresses #​7575.
  • Cypress now requires TypeScript 3.4+. Addressed in #​7856.
  • Installing Cypress on your system now requires Node.js 10+. Addresses #​6574.
  • In spec files, the values for the globals __dirname and __filename no longer include leading slashes. Addressed in #​7982.

Features:

  • There's a new retries configuration option to configure the number of times to retry a failing test. Addresses #​1313.
  • .click(), .dblclick(), and .rightclick() now accept options altKey, ctrlKey, metaKey, and shiftKey to hold down key combinations while clicking. Addresses #​486.
  • You can now chain .snapshot() off of cy.stub() and cy.spy() to disabled snapshots during those commands. For example: cy.stub().snapshot(false). Addresses #​3849.

Bugfixes:

  • The error Cannot set property 'err' of undefined will no longer incorrectly throw when rerunning tests in the Test Runner. Fixes #​7874 and #​8193.
  • Cypress will no longer throw a Cannot read property 'isAttached' of undefined error during cypress run on Firefox versions >= 75. Fixes #​6813.
  • The error Maximum call stack size exceeded will no longer throw when calling scrollIntoView on an element in the shadow dom. Fixes #​7986.
  • Cypress environment variables that accept arrays as their value will now properly evaluate as arrays. Fixes #​6810.
  • Elements having display: inline will no longer be considered hidden if it has child elements within it that are visible. Fixes #​6183.
  • When experimentalShadowDomSupport is enabled, .parent() and .parentsUntil() commands now work correctly in shadow dom as well as passing a selector to .parents() when the subject is in the shadow dom. Fixed in #​8202.
  • Screenshots will now be correctly taken when a test fails in an afterEach or beforeEach hook after the hook has already passed. Fixes #​3744.
  • Cypress will no longer report screenshots overwritten in a cy.screenshot() onAfterScreenshot option as a unique screenshot. Fixes #​8079.
  • Taking screenshots will no longer fail when the screenshot names are too long for the filesystem to accept. Fixes #​2403.
  • The "last used browser" will now be correctly remembered during cypress open if a non-default-channel browser was selected. Fixes #​8281.
  • For TypeScript projects, tsconfig.json will now be loaded and used to configure TypeScript compilation of spec and support files. Fixes #​7006 and #​7503.
  • reporterStats now correctly show the number of passed and failed tests when a test passes but the afterEach fails. Fixes #​7730.
  • The Developer Tools menu will now always display in Electron when switching focus from Specs to the Test Runner. Fixes #​3559.

Documentation Changes:

  • We have a new guide on Test Retries.
  • Our Migration Guide has a new section for 5.0 migration.

Misc:

  • Cypress now uses the webpack preprocessor by default to preprocess spec files.
  • The Runs tab within the Test Runner has a new improved design when the project has not been set up or login is required. Addressed in #​8141.
  • The type for the Window object returned from cy.window() is now correct. Addresses #​7856.
  • The type definition for Cypress's ApplicationWindow can now be extended. Addresses #​7856.
  • The type definition for reporterOptions has been added. Addresses #​7877.

Dependency Updates

  • Upgraded Chrome browser version used during cypress run and when selecting Electron browser in cypress open from 80 to 83. Addressed in #​7791.
  • Upgraded bundled Node.js version from 12.8.1 to 12.14.1. Addressed in #​7791.
  • Upgraded chalk from 2.4.2 to 4.1.0. Addressed in #​7650.
  • Upgraded cli-table3 from 0.5.1 to 0.6.0. Addressed in #​7650.
  • Upgraded electron from 8.3.1 to 9.2.0. Addressed in #​7791 and #​8235.
  • Upgraded execa from 1.0.0 to 4.0.2. Addressed in #​7650.
  • Upgraded express from 4.16.4 to 4.17.1. Addressed in #​8179.
  • Upgraded fs-extra from 8.1.0 to 9.0.1. Addressed in #​7650.
  • Upgraded log-symbols from 3.0.0 to 4.0.0. Addressed in #​7650.
  • Upgraded tmp from 0.1.0 to 0.2.1. Addressed in #​7650.

v4.0.1: 4.0.1

Compare Source

Released 2/7/2020

Bugfixes:

  • Fixed a bug where Chromium could not be detected on macOS. Addresses #​6358.
  • Fixed bugs where Edge and Firefox Nightly could not be detected on macOS. Addresses #​6354 and #​6345.
  • Fixed a bug where 64-bit editions of Firefox could not be detected on Windows. Addresses #​6355.
  • Fixed a bug where video recordings of Firefox would omit all frames from before the last cross-domain navigation of the test. Addresses #​6369.
  • Fixed a bug where Cypress could crash with the message "cannot read property 'on' of undefined" while running Firefox. Addresses #​6356.
  • Corrected a link to the screenshot API documentation in the type definitions. Addresses #​6359.

Misc:

  • Updated the default preferences set on Firefox to hide update notifications and otherwise improve the Firefox experience. Addresses #​6346.

v4.0.0: 4.0.0

Compare 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:

⚠️ Please read our Migration Guide which explains the changes in more detail and how to change your code to migrate to Cypress 4.0.

  • Mocha, Chai, and Sinon.JS has been upgraded which includes a number of breaking changes and new features. Addresses #​2528, #​2529, #​2866.
  • During before:browser:launch, we no longer yield the second argument as an array of browser arguments and instead yield an options object with an args property in order to support more advanced browser launch options. Addresses #​6306.
  • We updated the Cypress browser objects of all Chromium-based browsers, including Electron, to have chromium set as their family field. Addresses #​6243.
  • The --browser flag no longer accepts canary as its sole argument to run Chrome Canary. You now have to specify chrome:canary to use the Chrome Canary browser. Addresses #​6243.
  • cy.writeFile() now yields null instead of the contents written to the file in order to more align with the behavior of fs. Addresses #​2466.
  • Installing Cypress on your system now requires Node.js 8+. Addresses #​5632.
  • Cypress no longer support CJSX. Addresses #​3469.

Features:

Bugfixes:

  • A test or suite appended with an .only when multiple tests or suites contained the same title now run correctly. Fixes #​5345.
  • The .its() command now properly supports 0 as a value for indexes or object keys. Fixes #​6216.

Documentation Changes:

Misc:

  • We now pass through errors caused when attempting to read arguments passed through config. Addresses #​6279.
  • We fixed a broken 'Learn more' link within the Node.js Version panel of the Test Runner Settings. Addresses #​6237.
  • The browser icons in the Test Runner now display as images with the proper branding. Addresses #​6188.
  • We updated the styling of browser dropdown in the Test Runner to look more like a button. Addresses #​6298.
  • The timer in the Test Runner now always displays at a consistent length. Addresses #​6168.
  • You can print debug information about the memory & CPU usage of Cypress, which can be accessed by enabling the cypress:server:util:process_profiler debug stream. Addresses #​6169.
  • We added types for plugin events. Addresses #​6322.

Dependency Updates

  • Added @benmalka/foxdriver. Addressed in #​1359.
  • Upgraded @cypress/browserify-preprocessor from 1.1.2 to 2.1.1. Addressed in #​4308 and #​4226.
  • Upgraded bluebird from 3.5.0 to 3.7.2. Addressed in #​4226.
  • Upgraded cachedir from 1.3.0 to 2.3.0. Addressed in #​4208 and #​4226.
  • Upgraded chai from 3.5.0 to 4.2.0. Addressed in #​2862 and #​4226.
  • Upgraded chai-as-promised from 6.0.0 to 7.1.1. Addressed in #​4226.
  • Upgraded chalk from 2.4.0 to 3.0.0. Addressed in #​4226.
  • Upgraded commander from 2.15.1 to 4.0.1. Addressed in #​4208 and #​4226.
  • Upgraded debug from 2.15.1 to 4.0.1. Addressed in #​4226.
  • Upgraded execa from 0.10.0 to 3.3.0. Addressed in #​4226.
  • Added firefox-profiler. Addressed in #​1359.
  • Added foxdriver. Addressed in #​1359.
  • Upgraded fs-extra from 5.0.0 to 8.1.0. Addressed in #​4226.
  • Upgraded getos from 3.1.1 to 3.1.4. Addressed in #​4226.
  • Upgraded is-ci from 1.2.1 to 2.0.0. Addressed in #​4226.
  • Upgraded mocha from 2.5.3 to 7.0.1. Addressed in #​2703 and #​4226.
  • Upgraded listr from 0.12.0 to 0.14.3. Addressed in #​4226.
  • Upgraded log-symbols from 2.2.0 to 3.0.0. Addressed in #​4226.
  • Added marionette-client. Addressed in #​1359.
  • Upgraded ramda from 0.24.1 to 0.26.1. Addressed in #​4226.
  • Upgraded sinon from 3.2.0 to 8.1.1. Addressed in #​2881 and #​4226.
  • Upgraded strip-ansi from 3.0.1 to 6.0.0. Addressed in #​1359.
  • Added systeminformation. Addressed in #​1359.
  • Upgraded support-colors from 5.5.0 to 7.1.0. Addressed in #​4208 and #​4226.
  • Upgraded untildify from 3.0.3 to 4.0.0. Addressed in #​4226.

v3.4.0: 3.4.0

Compare Source

Released 7/9/2019

User Authentication Changes:

  • Users can now log in to the Test Runner using the browser installed on their system. Fixes #​3583, #​4337, and #​1162.
  • Users can now log in to the Test Runner with Google or with SSO (if configured). Fixes #​3519.

Continuous Integration Support:

  • Environment variables for Semaphore CI v2 are now recognized when recording a test for the dashboard. Fixes #​4671.
  • Support for Concourse CI has been added when recording a test for the dashboard. Fixes #​4376.
  • SnapCI support has been removed and GoCD support has been added. Fixes #​2680.

Bugfixes:

  • contain.text, contain.html, and contain.value assertions now support partial matching in all scenarios to match expected behavior. Fixes #​1969.
  • Electron rendering warnings are no longer printed to console output. Fixes #​4288.

Misc:

  • Added verification for cypress download that checks the checksum and filesize. This will fix issues with Cypress downloads being corrupted in transit. Fixes #​812 and #​3515.
  • Added a warning when a percent-encoded URL is passed to cy.route(). Fixes #​2372.
  • Added an error for when cy.click() fails because an element has the CSS pointer-events: none. Fixes #​3164.
  • Added a warning for Windows users who have Group Policy settings that may interfere with usage of Cypress. Fixes #​4391.
  • The JSON schema file used for intelligent code completion for the Cypress configuration file has been updated to match our documentation. Addressed in #​4300.
  • Type definitions were added to cy.server() for the onAnyRequest, onAnyResponse, and onAnyAbort callback options. Fixes #​3992.
  • The outline when focusing on a panel heading within the 'Settings' tab of the Test Runner now correctly outlines the element. Fixes #​3357.

Documentation Changes:

  • Documented cy.get()'s optional withinSubject argument.
  • Documented "Expected to find element..." error message and potential causes.
  • Documented new "Cypress detected policy settings on your computer that may cause issues" warning in Error Messages.

Dependency Updates:

  • Removed string-to-stream since it was no longer being used. Addressed in #​4619.
  • Upgraded @cypress/commit-info from 2.1.3 to 2.1.4. Addressed in #​4597.
  • Upgraded @cypress/react-tooltip from 0.4.0 to 0.5.0. Addressed in #​4610.
  • Upgraded errorhandler from 1.5.0 to 1.5.1. Addressed in #​4618.
  • Upgraded fs-extra from 8.0.1 to 8.1.0. Addressed in #​4620.
  • Upgraded request-progress from 0.4.0 to 3.0.0. Addressed in #​4584.
  • We also updated and removed some dependencies used for development.

v3.3.1: 3.3.1

Compare Source

Released 5/23/2019

News:

Bugfixes:

  • Cypress no longer accidentally prints internal Electron logs when running cypress run. This bug would exhibit itself when verifying and running Cypress the first time after installation. You may have seen these logs when running in CI. Fixes #​4255.
  • Fixed a bug for users running external network proxies that prevented requests from completing. Requests should now all work correctly. Fixes #​4257.
  • Fixed a regression in 3.3.0 causing large requests such as multipart/form-data uploads to hang. Fixes #​4240, #​4252, and #​4253.
  • Fixed issue where support for have.focus, not.have.focus, be.focused and not.be.focused assertions were not working. Fixes #​4265.
  • Names given to .as() now work properly when they contain a . character. Fixes #​3512.
  • The proper error is now thrown when passing {log: false} to a Cypress command that failed. Fixes #​3847.
  • Fixed an issue where highlighting a command's snapshot would throw an error when no application was rendered in the AUT frame. Fixes #​4177.
  • We now properly detect the branch name when running Cypress in AppVeyor. Fixed in #​4234.

Misc:

  • Fix capitalization of Xvfb in error messages. Addressed in #​4262.

Documentation Changes:

  • We have some newly translated documentation in Chinese and Japanese. If you'd like to help in translating more, please open a pull request in our documentation repo.

v3.3.0: 3.3.0

Compare Source

Released 5/17/2019

Features:

  • Cypress now automatically reads from your system's HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables and proxies traffic accordingly through Cypress based on these values. This includes network traffic within your application under test, when downloading Cypress, and when accessing 'Runs' within the Test Runner. Please read our new Proxy Configuration doc to understand more about proxy configuration in Cypress. Fixes #​672, #​733, #​939, #​1039, #​1459, #​1469, #​1470, #​1541, #​1608, #​2295, #​3855, #​3865, #​1401 and #​3857.
  • Your project's current proxy settings now display in the Settings of the Test Runner. Addresses #​3856.
  • Support for have.focus, not.have.focus, be.focused and not.be.focused assertions have been added. Addresses #​97.
  • We now offer a separate 32bit and 64bit build for Windows. Addresses #​716, #​787, #​2095, #​706, #​3706, and #​4016.
  • Requests that go through cy.visit() or cy.request() are now automatically retried under the hood when the request fails. This more closely reflects Chrome's default behavior on requests. Addresses #​4013, #​898 and #​1013.
  • cy.visit() and cy.request() now support new options retryOnStatusCodeFailure and retryOnNetworkFailure to allow changing Cypress's automatic request retry on status codes and network errors. Addresses #​4013, #​898 and #​1013.
  • .type() now supports the special character sequences {insert}, {pageup}, and {pagedown}. Addresses #​3845.
  • We now indicate which XHRs match which alias in the Command Log on .wait() when they match an alias multiple times. Addresses #​477.
  • The console log when clicking on the cy.visit() command now displays its resolved options arguments. Addresses #​3721.
  • There's a new 'canceled' XHR status shown on the Command Log to indicate the difference between calling xhr.abort() and the browser canceling the request due to page navigation. Addresses #​3973.
  • The Electron browser now runs Chrome Version 61. Addresses #​4000.
  • Running Cypress via cypress run now supports scripts of type="module". Fixes #​3696.
  • Exposed Cypress.isCy() method to check if a value is a valid instance of cy or a cy chainable. Fixes #​3822.
  • There is a new "Download Chromium" menu item in the "Help" menu of the Test Runner links to Cypress's Chromium Download Tool. Addresses #​3977

Bugfixes:

  • Fixed a regression introduced in 3.2.0 that caused an error to throw when visiting domains with certain public suffixes. Fixes #​3717.
  • When running Cypress with NODE_OPTIONS environment variables set, Cypress no longer issues an incorrect 0 exit code. #​1676
  • Fixed a regression introduced in 3.2.0 that caused .its() to no longer retry when it yields undefined. #​3837
  • Fixed a regression introduced in 3.2.0 that caused cy.fixture() to throw a EISDIR error if a directory had the same name as a file within that same directory. Fixes #​3739.
  • user-agent headers sent as arguments to cy.request() and cy.visit() are now properly sent. Fixes #​3873 and #​3719.
  • When a request is proxied through Cypress and there is a network error, we no longer send an HTML response with a 500 status code. We now kill the browser-facing socket and let the network error be handled by the application under test. Fixes #​4101, #​4231, #​1036, #​4231, and #​1398.
  • We changed Cypress's implementation to no longer rely on internal XHR events when the browser navigates. This fixes a a bug in Chrome 71+ that could cause XHRs to pend forever. Fixes #​3973 and #​4130
  • We greatly improved the speed of proxied requests through our network layer. Fixes #​3192 and #​1469.
  • If an error occurs during cypress verify, we now kill the verification process after 10 seconds and print the error message. This should prevent some situations where Cypress would hang during installation or verification and never exit. Fixes #​819.
  • Cypress automatically retries cypress verify and cypress run commands by starting its own Xvfb server on Linux if the first attempt fails due to possible DISPLAY misconfiguration. Addresses #​4034.
  • Cypress now properly handles typing JavaScript object prototype methods (like hasOwnProperty) into .type(). Fixes #​3423.
  • We now set the form option to true if the Content-Type header equals application/x-www-form-urlencoded and json is not already set by a user. This fixes a situation where Cypress would try to parse the body as a string, resulting in a confusing error message. Fixes #​2923.
  • cy.contains() now correctly handles comma delimited arguments passed to the selector argument. Fixes #​2407.
  • Passing a browser path containing spaces now works properly when passed to the --browser argument. Fixes #​3979
  • Fixed display of tooltips when selecting elements from the Selector Playground so that they display at the correct coordinates when scrolling. Fixes #​1351.
  • The lists of spec files now display at the correct indentation level when they are nested more than 5 directories deep. Fixes #​3652.
  • Cypress now properly parses environment variables with empty values. Fixes #​3742.
  • Assertions running outside of a test are now properly handled in Cypress instead of throwing internal errors. Fixes #​3926.
  • Cypress.log() now throws an error when not properly passed an object as its argument. Addresses #​3658.
  • Cypress.log() no longer throws when called before any other Cypress commands. Fixes #​3658.

Misc:

  • We now better support capturing environment variables within Azure DevOps. Addresses #​3657.
  • Cypress now only scans for spec changes when the watcher sees changes, rather than polling to scan. Addresses #​3069.
  • The ability to open the context menu to see "Inspect Element" has been reenabled in the Electron browser. Addresses #​4002.
  • We no longer package non-Windows ffmpeg builds with Windows builds, resulting in a 35-40% reduction in zipped size and a 36-43% reduction in unzipped size of download. Addresses #​3888.
  • The warning messages when going over test recording limits have been updated to correctly display 'monthly tests' and 'private tests' where necessary. Addresses #​4024.
  • When an HTTP request is received by the proxy layer, by default, we send it with a Connection: keep-alive header so that the connection will be reused if possible. Addresses #​3857.
  • Improved accessibility of Test Runner for screen readers. Addresses #​3850.
  • Cypress type definition now allow a timeout option in cy.hash(). Fixes #​3844.
  • Fixed type definition for match assertion so that it now only accepts RegExp type arguments. Fixes #​2578.
  • The .trigger() type definition now expects its options to be ObjectLike. Addressed in #​3809.
  • The cy.clock() type definition now allows for type Date. Fixed in #​4106.
  • Added type definition for undocumented Cypress.LocalStorage.clear method. Fixes #​4070.
  • Added type definition for Cypress.isCy() method. Fixes #​3822.
  • Added missing type definitions for some cy.visit() options. Fixes #​3989.
  • The spinner animation should more smoothly spin when a command is pending in the Test Runner. Addressed in #​4005.

Documentation Changes:

Dependency Updates

  • Upgraded commit-info from 2.1.2 to 2.1.2. Addressed in #​4045
  • Upgraded data-uri-to-buffer from 0.0.4 to 1.2.0. Addresses #​4152.
  • Upgraded electron from 1.8.2 to 2.0.18. Addresses #​4000.
  • Upgraded electron-packager from 9.1.0 to 13.1.1. Addresses #​4155.
  • Upgraded express-handlebars from 3.0.0 to 3.0.2. Addressed in #​4086.
  • Upgraded find-process from 1.2.1 to 1.4.1. Addressed in #​4087.
  • Upgraded getos from 2.8.4 to 3.1.1. Addressed in #​4222.
  • Upgraded http-status-codes from 1.3.0 to 1.3.2. Addressed in #​3949.
  • Upgraded jimp from 0.6.0 to 0.6.4. Addressed in #​4097.
  • Removed method-override. Addressed in #​4209.
  • Upgraded node from 8.2.1 to 8.9.3. Addressed in #​4001.
  • Downgraded parse-domain from 2.1.7 to 2.0.0 to avoid a regression released in parse-domain. Addresses #​3717.
  • Upgraded pluralize from 3.1.0 to 7.0.0. Addressed in #​4205 and #​4206.
  • Upgraded semver from 5.6.0 to 5.7.0. Addressed in #​4112.
  • Upgraded send from 0.16.2 to 0.17.0. Addressed in #​4134.
  • Upgraded supports-color from 5.5.0 to 6.1.0. Addressed in #​4150.
  • Removed tar-fs. Addressed in #​4148.
  • Upgraded term-size from 1.2.0 to 2.0.0. Addressed in #​4148.
  • Upgraded tmp from 0.0.33 to 0.1.0. Addressed in #​4111.
  • Upgraded trash from 4.3.0 to 5.2.0. Addressed in #​4140.
  • Upgraded url-parse from 1.4.4 to 1.4.7. Addressed in #​4110.
  • Upgraded widest-line from 2.0.1 to 3.1.0. Addressed in #​4139.
  • We updated and removed some dependencies used for development.

v3.2.0: 3.2.0

Compare Source

Released 3/15/2019

Features:

  • cy.visit() has been expanded to allow options url, method, body, and headers. This allows cy.visit() to be called with a POST method or with headers like Accept-Language or Authorization. Fixes #​1500, #​1904 and #​908.
  • cy.request() now allows any valid HTTP method to be used including TRACE, COPY, LOCK, MKCOL, MOVE, PURGE, PROPFIND, PROPPATCH, UNLOCK, REPORT, MKACTIVITY, CHECKOUT, MERGE, M-SEARCH, NOTIFY, SUBSCRIBE, UNSUBSCRIBE, SEARCH, and CONNECT. Addresses #​1302
  • The --browser argument of the Command Line and the browser argument of the Module API have been updated to allow passing a <path>. Addresses #​1026.
  • cy.type() now accepts {home} and {end} special character sequences to move the cursor to the start or end of a line. Addresses #​2033.
  • The Cypress Chrome extension now has a static ID of caljajdfkjjjdehjdoimjkkakekklcck. This allows Cypress to be added to extension whitelists for those working under corporate policies that prohibit extensions. Addresses #​3673, #​1239 and #​2494.

Bugfixes:

  • Problems logging in through GitHub in the Test Runner have been fixed. The GitHub login window no longer shows the browser support banner and the "Authorize cypress-io" button is no longer disabled. Fixes #​1251.
  • Fixed an issue when testing applications using older versions of jQuery. They now no longer throw item.first is not a function. Fixes #​2927.
  • Cypress now detects more instances of browser installations. Fixes #​3183 and #​3218.
  • Fixed issue with loading fixture files containing more than one . in their filename while not specifying the file extension. We are also displaying a clearer warning when a fixture file cannot be found. Fixes #​1402.
  • All third party @types have been moved from Cypress dependencies into devDependencies. This should fix situations where user's type dependencies were conflicting with Cypress's third party type definitions. Fixes #​3371 and #​1227.
  • Cypress.config('baseUrl') has been updated to no longer strip singular / at the end of urls and instead only strip instances of multiple /. Fixes #​3540.
  • The prompt to "Restore pages?" is no longer displayed within Chrome upon restarting a crashed Chrome window. Addresses #​2048.
  • cy.wrap() no longer throws an error when a non-jQuery wrapped DOM element is passed in as an argument. Fixes #​3549.
  • Fixed issue where all arguments passed to setTimeout or setInterval were not properly passed on to the target function. Fixes #​3592.
  • .filter() has been updated so that when called with a function, the options are now properly read. Fixes #​3315.
  • Cypress's recognition of websites attempting framebusting has been updated to include framebusting code wrapped within (). #​3267
  • When .its() returns undefined it no longer errors. It will now follow the same logic as all other commands and only fail when directly by a .should() command with an assertion that is not met. Fixes #​1531.
  • When cy.wrap() is followed directly by a .should() command, cy.wrap() will now retry when its argument evaluates to undefined until it meets the requirements of the assertion or the cy.wrap() command times out. Fixes #​3241.

Misc:

  • We now display a warning when passing an argument to --spec that is not surrounded by quotes "" recommending that the argument instead be surrounded by quotes. In some cases, not providing quotes can cause the arguments to be read in a way that is likely not its intended use. Addresses #​3318 and #​2298.
  • The number of logs printed when installing Cypress in docker has been reduced. Partially addresses #​1243.
  • The seeded Kitchen Sink examples have some new examples showing how to add a message to assertions, how to compare the text content of two elements, and how to make assertions about data attributes. The examples also have some small typo fixes. Fixes #​502. Addressed in #​3272, #​3287, and #​3700.
  • We now only mount internal servers on loopback. Addresses #​3712.
  • The instructions in Cypress's update window now include yarn update instructions alongside npm. Addresses #​2871.
  • The spec file's font weight has been increased within the Test Runner for better readability. Addressed in #​3065.
  • We improved the error message displayed when a record key is unrecognized during cypress run. Addresses #​1449.
  • We improved the typings when using Cypress.on to listen for window.alert events to allow for Sinon.stub. Fixes #​3451.
  • Fixed typo in typing for .trigger options. Addressed in #​3588.

Documentation Changes:

  • New Retryability doc #​1278
  • Updated --browser and browser args to accept path #​1419
  • Add documentation on how to 'accept' or 'reject' project transfer #​1474
  • Updated docs on explain how to run Chrome and Chromium browsers #​1339
  • Added {home} and {end} character sequences to cy.type() doc. Also wrote better description of what {downarrow} and {uparrow} character sequences actually do. #​1347
  • Added all newly supported HTTP methods to cy.request() doc.
  • Add new section to Debugging doc explaining whitelisting the Cypress Chrome extension.
  • Fixed code example for google analytics stubbing #​1454

Dependency Updates

  • Upgraded @cypress/commit-info from 2.1.1 to 2.1.2. #​3327.
  • Upgraded @cypress/xvfb from 1.2.3 to 1.2.4. #​3328.
  • Upgraded @ffmpeg-installer/ffmpeg from 1.0.15 to 1.0.17. #​3329.
  • Upgraded cachedir from 1.3.0 to 2.1.0. #​3660.
  • Upgraded chalk from 2.4.1 to 2.4.2. #​3362.
  • Upgraded chokidar from 1.6.0 to 1.7.0. #​3363.
  • Upgraded coffee-script from 1.12.5 to 1.12.7. #​3365.
  • Upgraded commander from 2.11.0 to 2.19.0. #​3366.
  • Upgraded common-tags from 1.4.0 to 1.8.0. #​3368.
  • Upgraded compression from 1.7.2 to 1.7.3. #​3379.
  • Upgraded cookie from 0.2.4 to 0.3.1. #​3380.
  • Upgraded cookie-parser from 1.4.3 to 1.4.4. [#​3443](https://togithub.com/

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the renovate label Dec 3, 2022
@renovate renovate bot force-pushed the renovate/cypress-vite-dev-server-5.x branch 14 times, most recently from 44fa065 to dff111a Compare December 9, 2022 16:51
@renovate renovate bot force-pushed the renovate/cypress-vite-dev-server-5.x branch 7 times, most recently from 45373d5 to 414d9de Compare December 17, 2022 02:25
@renovate renovate bot force-pushed the renovate/cypress-vite-dev-server-5.x branch 6 times, most recently from 767468b to 4b36b9a Compare December 22, 2022 14:33
@renovate renovate bot force-pushed the renovate/cypress-vite-dev-server-5.x branch 2 times, most recently from c50d0d3 to 0fc3f2f Compare December 26, 2022 06:58
@renovate renovate bot force-pushed the renovate/cypress-vite-dev-server-5.x branch 10 times, most recently from 40f60c2 to 8aa5d6c Compare January 9, 2023 05:48
@renovate renovate bot force-pushed the renovate/cypress-vite-dev-server-5.x branch 9 times, most recently from 84aad6b to 7bc53b6 Compare January 17, 2023 05:08
@renovate renovate bot force-pushed the renovate/cypress-vite-dev-server-5.x branch 4 times, most recently from ceda2c4 to af9a193 Compare January 24, 2023 19:13
@renovate renovate bot force-pushed the renovate/cypress-vite-dev-server-5.x branch 5 times, most recently from 863cb33 to f4c9e42 Compare January 31, 2023 05:17
@renovate renovate bot force-pushed the renovate/cypress-vite-dev-server-5.x branch from f4c9e42 to 7a21470 Compare January 31, 2023 05:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants