add-typescript-to-cypress
add-typescript-to-cypress copied to clipboard
chore(deps): update dependency cypress to v3.8.3 - abandoned
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| cypress | 3.4.0 -> 3.8.3 |
Release Notes
cypress-io/cypress
v3.8.3: 3.8.3
Released 1/24/2020
Bugfixes:
- We fixed an error during
cypress runindicatingcould not find CRI targetwhen Cypress was unable to find the tab to control. Fixes #6053. - HTTP requests to sites using a TLS version lower than 1.2 now no longer fail. Fixes #5446.
cypress verifywill no longer error on some systems when-screenis not defined. Fixes #6184.- We fixed a regression in 3.5.0 causing
cy.type({ force: true })to no longer forcibly type characters for readonly inputs. Fixes #6116. - Generated reports when using custom reporters now have a defined
fileproperty. Fixes #1495.
Misc:
- Messages from
cy.get()are now truncated at 50 lines the Command Log instead of the 1 line. Addresses #6145. - We now collect more environment variables for Bamboo CI when recording for the Dashboard. Addresses #4895.
Dependency Updates:
- Upgraded
electronfrom7.1.9to7.1.10. Addressed in #6242. - Upgraded
electronfrom7.1.7to7.1.9. Addressed in #6180. - Upgraded
http-status-codesfrom1.3.2to1.4.0. Addressed in #6134. - Upgraded
socket.ioandsocket.io-clientfrom2.2.0to2.3.0. Addressed in #6179.
v3.8.2: 3.8.2
Released 01/10/2020
Bugfixes:
- We fixed a regression in 3.8.0 on Linux when
unzipis not installed where the progress ofcypress installwould show up to 200%. Fixes #5967 - Child elements of an element that uses both
transformandheightorwidthare now properly seen as visible during visiblity checks. Addresses #5974. - We now properly check backface visibility when the parents of a target element have the CSS style
transform-style: preserve-3d. Fixes #5682. - DOM elements with a width or height of 0 and
overflow: hiddenare now properly calculated as invisible during visibility checks. Fixes #6093. - We fixed a regression in 3.7.0 where using
.type()on number inputs to type non-number characters would not type the correct value. Fixes #6055.
Misc:
- Messages from
cy.log()are now truncated at 50 lines the Command Log instead of the 1 line. Addresses #5625. - We now capture GitLab CI's
CI_JOB_NAMEenvironment variable. Addressed in #6111. - Types for event emitters
removeListenerandremoveAllListenershave been added toCypressandcy. Addresses #5228. - Types for the
runUrlproperty returned fromcypress.run()has been added. Addresses #6087. - We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses #2690 in #5947 and #6075.
Dependency Updates:
- Upgraded
ansi_upfrom4.0.3to4.0.4. Addressed in #6074. - Upgraded
electronfrom7.1.4to7.1.7. Addressed in #6085.
v3.8.1: 3.8.1
Released 12/26/2019
Bugfixes:
- We fixed a bug where
cypress run --headlesswould not run Chrome-family browsers headlessly. Fixes #5949. - We fixed an issue where, on some systems with IPv4 and IPv6 enabled, Cypress would fail to connect to the Chrome DevTools Protocol while launching Chrome, leading to test failures. Fixes #5912.
- The strict cookie validation added in 3.5.0 for
cy.setCookie(),cy.clearCookie(), andcy.getCookie()has been removed. Fixes #5642. - We fixed a regression in 3.8.0 where using
.type()on number inputs to type non-number characters or the{enter}special character would not type the correct value. Fixes #5968 and #5997. - Configuration values set from the plugin file now display with the correct background color in the Configuration panel in the Test Runner Settings. Fixes #6024.
- We removed the 'Me' and 'An Organization' selections in the Test Runner when setting up a project to more closely match the Dashboard UI. This also fixes an edge case where a user with no default organizations could potentially be unable to set up a project. Fixes #5954.
Misc:
- We updated the fallback error message for visibility checks to be less confusing. Addresses #5982.
- The type definitions for
cy.location()have been improved. Addresses #5574.
Dependency Updates:
- Upgraded
get-portfrom5.0.0to5.1.0. Addressed in #6004. - Upgraded
chrome-remote-interfacefrom0.28.0to0.28.1. Addressed in #6008. - Upgraded
whichfrom1.3.1to2.0.2. Addressed in #6017. - Upgraded
ansi_upfrom1.3.0to4.0.3. Addressed in #4331. - Upgraded
jimpfrom0.6.4to0.9.3. Addressed in #4331.
v3.8.0: 3.8.0
Released 12/12/2019
Features:
- Chrome can now be run in headless mode by using
cypress run --headless --browser chrome. Addresses #832. - Cypress now accepts a
--tagargument to be used to identify separate runs. Any tags assigned will be shown on the run in the Cypress Dashboard. Addresses #2561. - The commands
.its()and.invoke()now accept anoptionsobject to allow changing logging options. Addresses #1450. - Cypress will now attempt to use the
unzipbinary duringcypress installbefore trying the slower, Node.js-based unzipping method. Addresses #3803. - Upgraded Electron to 7.1.4. This bumps the internal Node version to 12.8.1 and the internal Chromium version to 78.0.3904.113.
Bugfixes:
- We fixed a regression in 3.5.0 where Cypress would crash on Windows when trying to pass a url through
--configor--envcommand line flags. Fixes #5466. - We fixed a regression in 3.5.0 where a supplied
Cookieheader during "cy.visit()visit orcy.request()would be overwritten by theCookieheader generated from the browser's cookie store. Fixes #5894. - We fixed a regression in 3.5.0 where
cy.getCookie()would incorrectly filter cookies by their domain, leading to unexpected results. Fixes #5656. - We fixed a regression in 3.5.0 where calling
.type({ force: true })on hidden inputs would not type the correct characters. Fixes #5835. - We fixed a regression in 3.5.0 where
.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. - During visibility checks, Cypress now properly evaluates a DOM element transformed by
scale(0)orrotateY(90deg)as not visible. Fixes #723. - Fixed a bug where the specs list in interactive mode would not refresh when files are changed on disk. Fixes #5933.
envconfiguration option displays properly within the settings panel. Previously, setting env options would incorrectly render"undefined"as the value. Fixes #5859.
Misc:
- We removed the max viewport size and lowered min viewport size to
0forcy.viewport()Addresses #5871 and #5892. - The Test Runner now shows a non-Chrome logo for browsers passed in via
config.browserthat are not of the Chrome family. It also supports showing the Firefox logo (in preparation for Firefox browser support). Fixes #5745. - We updated the look of some of our icons. Addressed in #5822.
- We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses #2690 in #5643.
cy.requestwill now automatically encode special characters in the request URL, including Unicode. Addresses #5274.- You can pass additional Electron launch command line arguments using environment variable
ELECTRON_EXTRA_LAUNCH_ARGS. Addresses #5807.
Dependency Updates:
- Upgraded
ansi-escapesfrom4.2.1to4.3.0. Addressed in #5815. - Upgraded
electron-context-menufrom0.11.0to0.15.1. Addressed in #5495.
v3.7.0: 3.7.0
Released 11/27/2019
Features:
- Cypress now includes the full list of browsers found and their properties within the Cypress configuration. This means that the
browsersarray is also editable within plugins by accessingconfig.browsersvia the Configuration API. The currently available browsers are also displayed within the configuration panel under Settings in the Test Runner. Addresses #5067. - Environment variables within GitHub Actions are now detected and passed to the Dashboard in order to display the proper git information for recorded runs. Fixes #5609.
Bugfixes:
- Fixed a regression in 3.5.0 where a
cy.visitthat changes superdomain would incorrectly clear cookies of other domains. Fixes #5756. - Fixed a regression in 3.5.0 where cookies set in a redirect on a
cy.visitor in acy.requestwith a customDomainthat is not a subdomain of the current domain would fail to set. Fixes #5656. - Fixed a regression introduced in 3.5.0 which caused
cy.typeto send duplicate modifier keys. Fixes #5622. - We fixed a regression in 3.6.1 where cy.request() with
followRedirect: falsewould fail if aSet-Cookieheader was present in the response. Fixes #5654. - The context of
windowis no longerundefinedwithin the application under test when called within asetTimeoutduring strict mode. Fixes #5707. - Cypress now captures the SHA of builds generated through Travis CI during pull requests. This should resolve issues with Cypress status checks sometimes not running within GitHub Integration. Fixes #5728.
- Cypress now automatically strips double quotes from
--ci-build-idandgroupflag arguments duringcypress run. Fixes #5686. - Assertions printed in the Command Log now correctly identify integers from string integers. Fixes #25.
- Empty spaces are now accurately reflected in the Command Log within assertions. Fixes #1360.
- Keys printed in the Command Log when using the
have.all.keysassertion now correctly display. Fixes #753. - We fixed an issue where Cypress would throw an error when using
cy.visit()on acleverapp.iodomain. Fixes #5722. - Fixed a bug where fixtures consisting only of
nullwould cause an error. Fixes #472. - Fixed a bug where, if the Test Runner child process is killed with a signal and does not exit normally, the npm CLI process would not exit with an error. Fixes #5808.
Misc:
- Added a new, more specific error message when an item is not visible because it has
position: fixedand is being overflowed over. Addresses #1379. cy.visits 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.- The configuration object returned from the plugins file is now validated and will throw a helpful error message when invalid. Addresses #5712.
- The configuration panel under Settings in the Test Runner now has a white background for better readability. Also each configuration option with nested properties is now collapsible. Addressed in #5068.
Dependency Updates:
- Upgraded
parse-domainfrom2.0.0to2.3.4. Addressed in #5726.
v3.6.1: 3.6.1
Released 11/08/2019
Bugfixes:
- The Electron browser no longer hangs when testing applications that have a prompt in a
beforeunloadhandler. Fixes #2118. - We fixed a regression in 3.5.0 where HTTP redirects could cause strange behavior, including cookies not being set as expected, leading to authentication issues and other problems. Fixes #5436 and #5432.
- When using
cy.setCookie()with the sameoptionsObject, Cypress now correctly sets the new cookie instead of the one passed into a previouscy.setCookie(). Fixes #2701. - We fixed a regression in 3.5.0 where
cy.clearCookie()would not act as expected when using certainbaseUrls. Fixes #5453. - Cypress no longer crashes with the error
Failed to parse or set cookie named "xxx"when loading certain websites. Fixes #4990. - Cypress now sends the expected headers or request body in a
cy.visit()to an HTTPS URL using the default port, 443. Fixes #5367. - We fixed a regression in 3.6.0 where Cypress would crash with
TypeError: Cannot read property 'length' of nullon some network requests. Fixes #5585. - We fixed a regression in 3.5.0 that caused the red target to be rendered incorrectly when specifying offset coordinates to
.click(). Fixes #5635. - We fixed a regression in 3.6.0 that was causing an incorrect element to receive the
clickevent during action commands. Fixes #5578. - We fixed a regression in 3.5.0 causing text after using modifier keys in
.type()to not be typed. Fixes #5622. - Elements with
backface-visibility: hidden;are now accounted for when asserting on the elemtent's visibility. Fixes #2985. - We fixed a bug where a failed Cypress commands would incorrectly throw
cannot read property 'replace' of undefinedif the error's stack wasundefined. Fixes #1669. - The 'Log In' modal within Cypress when setting up a project now correctly closes when manually closed. Fixes #5631.
Misc:
- We improved the user experience around inspecting events fired during
.click()and.type()commands within the console. Addresses #5553. - We increased the timeout when connecting to the "Developer Tools Protocol" from 5 seconds to 20 seconds and also added logging for when the connection takes longer than 5 seconds. Addresses #5610.
- There is no longer a warning about
Promise.deferappearing in stderr when running with video recording enabled. Addresses #5611. - Types for
.rightclick()and.dblclick()have been updated to correctly reflect their accepted options. Addresses #5617. - We're continuing to make progress in converting our codebase from CoffeeScript to JavaScript. Addresses #2690 in #5556
v3.6.0: 3.6.0
Released 10/31/2019
Features:
testFilesnow also accepts an Array of glob patterns when specifying what test files to load in configuration. Addresses #5401.
Bugfixes:
- We fixed a regression in 3.5.0 where the maximum size of an HTTP header or body in a stubbed
cy.route()was limited to 8kb causing requests to fail with a 431 HTTP error. Fixes #5431. - We fixed a bug where certain types of uncaught errors originating from the application under test would not route through the
uncaught:exceptionhandler, and thus could not caught and ignored. These errors will also now correctly indicate that they came from application code. Fixes #987. - We fixed a regression in 3.5.0 that would throw an error during
cypress verifywhen running as a non-root user on a non-Windows machine. We now always set the--no-sandboxflag when verifying in Electron, even when running as a non-root user. Fixes #5434. - We fixed a regression in 3.5.0 where sometimes cookies were not set on the correct URL during a redirect inside of a
cy.visit()orcy.request(). Fixes #5432. - We fixed a regression in 3.5.0 causing environment variables containing unicode values to be incorrectly resolved when read via
Cypress.env(). Fixes #5435. - We fixed a regression in 3.5.0 that prevented use of
.click()or.type()inside of an iframe element. Fixes #5449. Fixes #5435. - We now throw the proper error message when an element cannot be interacted with due to being covered by an element with
position:fixed. Fixes #5430. - We fixed a regression in 3.5.0 that caused some
clickevents to not be sent to the correct elements during.click(). Fixes #5459. - We updated
.type()to properly respect focus selection changes during typing. Fixes #5456. - We fixed a regression in 3.5.0 that caused selected text to be overwritten while typing a modifer key during
.type(). Fixes #5439. - We now send all the proper events during
.type()to input elements with typedate,time, anddatetime-localso that it now behaves as it did prior to 3.5.0. Fixes #5476. - We now properly render iframe placeholder content when previewing DOM snapshots. Fixes #5295.
Misc:
- We no longer log the default option
{multiple: true}in the Command Log or the console duringcy.dblclick(). Addresses #5406. - The text color of inactive tabs within the Cypress Chrome browser has been set to white for better readability. Addresses #1661.
Dependency Updates
- Replaced
express-handlebarswithsquirrellyto reduce dependency size. Addressed in #5521. - Upgraded
graceful-fsfrom4.2.0to4.2.3. Addressed in #5497.
v3.5.0: 3.5.0
Released 10/23/2019
Features:
- We now record video during
cypress runin Chrome, Chromium, and Canary browsers. This requires passing the name or path of the Chrome browser to the--browserflag. Addresses #4608. - There is a new
.rightclick()command to right click on DOM elements. Addresses #53. - Cypress now accepts a
--config-fileargument to specify a different file to be used for Cypress configuration. You can also passfalseto the--config-fileto not use any configuration file. Addresses #1369. - You can now use your system's Node version by setting the
nodeVersiontosystemin your configuration. This Node version will be used to build files in yourintegrationFolderand "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, andyarguments. Addresses #116. - "
.dblclick()dblclick now acceptsforceandmultiplein itsoptions. Addresses #116. .screenshot()now accepts apaddingargument when screenshotting elements that will alter the dimensions of the screenshot of the element. Addresses #4440.cy.visit()now accepts aqsoption 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-s10andsamsung-note9. Addresses #4967.- Passing a
~toCYPRESS_CACHE_FOLDERwill 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. - We updated "
.dblclick()dblclick to follow the same actionability checks as.click(). Fixes #3798. - Coordinates clicked during
.click()are now correct if the element being clicked is within an iframe. Fixes #4347. - We now allow
.type()to be used on any DOM element. The element will receive all of the type events. Fixes #2166 and #3661. - If a typeable element gains focus during
.type(), Cypress now continues typing into the newly focused element. Fixes #2240. - We now correctly borrow the property getter for
maxLengthwhen using .type() on an input. Fixes #4587. - We fixed an issue where
datetime-localinputs would not have theirvalueupdated during.type(). Fixes #2613. .type()now allows you to type-into number inputs with text selection. Fixes #4767.- We now fire an
inputevent when using.type()typing{enter}inserts a newline. Fixes #4870. - We no longer input text when non-
{shift}modifier keys are typed in.type(). Fixes #5424. - We now properly send the
codeproperty during keyboard events triggered during.type(). Fixes #3722 - Cypress now sends
screenXandscreenYproperties to events triggered using.trigger(). Fixes #3187. - We fixed a bug where Cypress could not intercept traffic sent through
cy.visit()to IP addresses over HTTPS, leading toERR_SSL_VERSION_OR_CIPHER_MISMATCHerrors. Fixes #771. - We fixed a bug introduced in 3.3.0 where some HTTPS sites failed to load during
cy.visit()andcy.request()with a "handshake failed" error. Fixes #4394. - We fixed a bug where ECC SSL Certificates were not supported during
cy.visit()that was introduced in 3.3.0. Fixes #4368. - We fixed an issue introduced in 3.4.0 that would cause the Selector Playground to not properly highlight the currently hovered element. Fixes #4872.
Cypress.env()now escapes<script>tags in the configuration file. Fixes #4952.- Cypress now properly handles converting responses of
content-typeapplication/vnd.api+jsonto JSON. Fixes #5165. - XHR responses in
cy.route()that exceed 80kb in size no longer fail with anERR_EMPTY_RESPONSEerror. Fixes #76. - Cypress no longer crashes with
dest.enderrors on Windows machines. Fixes #2181. - The
onFocusevent no longer incorrectly fires on hidden elements. This fixes an issue introduced in 3.3.2. Fixes #4898. - You can now call
.click()on inputs or textareas that arereadonly. This fixes an issue introduced in 3.4.1. Fixes #4874. - Cypress no longer crashes with a
"port" option should be a number or stringerror when receiving an erroneous HTTP CONNECT. Fixes #3250. - Cypress tests now timeout if there are no Cypress commands enqueue and the
done()callback is not called within thecommandTimeout. Fixes #1075, #2478, #3349, and #4790. - We fixed a bug where Cypress would exit with an
ENOTCONNerror at the end of a test run when using Node >12.11.0 on Windows OS. Fixes #5241. - We fixed a bug where the Chrome policy warnings introduced in 3.4.0 would not appear. Fixes #4986.
- We improved the way that cookies are handled for Chrome browsers. This fixes an issue when parsing cookies that were set with a domain beginning with a
.in Chrome 77. Fixes #5142 and #5206. - We fixed a bug when visiting an application that does an HTTP request to a
.jsfile containing Unicode transferred usingContent-Encoding: gzipthat could cause the JavaScript file to become corrupted. Fixes #1746. - We now normalize the Cypress cache folder to resolve in the current folder and not with respect to the
node_modules/cypressfolder. Fixes #2364.
Misc:
- Cypress now displays a more precise error message when checking an element's visibility if an element is detached from the DOM. Addresses #4946.
- We increased the timeout to wait for Xvfb to start from 5 seconds to 30 seconds. This should resolve some issues where the error
Could not start Xvfbwas being thrown because Xvfb could not start within the allowed time. Addresses #5110. - We now warn when using
cypress runfrom the binary directly (not from an npm module) since this is not its intended use. Addresses #1573. - We now warn on
cy.visit('file://...)to explain that this url format is not supported and suggest visiting a relative HTML file. Addresses #4452. - Setting the reserved
CYPRESS_ENVenvironment variable will now throw an error. Addresses #1621. - We now throw a better error when passing in an Object to the
browserargument of the Browser Launch API explaining that a String is expected instead. Addresses #4966. - An error will now be thrown if an invalid
nameorvalueis supplied tocy.setCookie(), matching the RFC 6265 compliant validation of cookie names and values. Addresses #5206. - Passing an invalid type to the 2nd argument of
cy.get()now throws an error explaining that anoptionsObject is expected. Addresses #2953. - We now throw a more helpful error message during
cy.screenshot()that would result in a screenshot with 0 width or height. Addresses #5149. - Stdout printed during
cypress runno longer truncates text such a filenames and instead wraps the text to fit within the width of the terminal. Addresses #4977. - We now display up to 2,000 characters of HTTP property values within error messages during
cy.request()errors. Addresses #3145. - Cypress now always considers
localhostto be inNO_PROXY. To make Cypress send traffic forlocalhostthrough the proxy, you will now have to pass<-loopback>inNO_PROXY. Addresses #4780. - We changed the way cookies are set in
cy.visit()to more closely match the browser's behavior when setting cookies, particularly when usingfetchwith cookies. Addresses #4433. - We've added more flags to send to Chrome upon launch that should help with issues encountered during browser automation including
--disable-backgrounding-occluded-window,--disable-breakpad,--disable-ipc-flooding-protection,--password-store=basic, and--use-mock-keychain. Addresses #5132 and #3633. - Scrolling the specs list now only scrolls the list of spec files and no longer scrolls the search and filter bar. Addresses #4904.
- We fixed some layout issues within the Test Runner that were introduced in 3.4.1. Addresses #4888, #4912, and #4959.
- The counter badge for spies and stubs no longer appears visually cut off. Fixes #4822.
- TypeScript 3.6.2 no longer errors due to outdated jQuery types. Addresses #5065.
- We updated types for
Cypress.Commands.overwrite()to not allow anoptionsobject as an argument. Addresses #5341. - We added
failuresandmessagetypes when a run fails using the Module API. Addresses #5335. - We're continuing to make process in converting our codebase from CoffeeScript to JavaScript. Addresses #2690 in #4869, #4906, #5096, #5107, #5156, #5173, and #5352.
Documentation Changes:
- Added a
.rightclick()doc. - Added a Webinars doc containing videos of all of the official Cypress webcasts.
- Updated the
.dblclick()doc to include newposition,x, andyarguments plusforceandmultipleoptions. - Added the
--config-fileargument to Command Line and Module API doc. - Added the
nodeVersionargument to Configuration doc and mentioned its uses in the Plugins Guide and Writing a Plugin doc. - Updated all docs to mention 'configuration file' instead of static
cypress.jsonfile since this is not configurable via a--config-fileargument. - Added
qsoption tocy.visit()with examples. - Added
paddingoption tocy.screenshot()with examples. - Updated the
cy.viewport()doc to have a max viewport size of4000. - Added newly supported viewport sizes to the
cy.viewport()doc. - Documented new keyboard shortcuts in the Test Runner doc.
- Added a new section on troubleshooting problems with Xvfb to the Continuous Integration doc.
- Added a section to our Debugging doc about our
cypress-fiddleplugin used for playing around with small test cases. - Added a section to our Debugging doc explaining how to patch an installed version of Cypress.
- Mention not needing to decode portions of the
urlin thecy.route()doc. - Mention that the
file://prefix is not supported in thecy.visit()doc. - Add a note about when passing
<-loopback>inNO_PROXYis necessary in the Proxy Configuration doc. - Updated our Dashboard docs to include screenshots containing our new Dashboard navigation design.
- We have some newly translated documentation in Portuguese. If you'd like to help in translating more, please open a pull request in our documentation repo.
Dependency Updates
- Upgraded Chrome browser version used during
cypress runand when selecting Electron browser incypress openfrom61to73. Addressed in #4720. - Upgraded
electronfrom2.0.18to5.0.10. Addressed in #4720. - Upgraded
nodefrom8.9.3to12.0.0. Addressed in #4720. - Upgaded
jqueryfrom2.2.4to3.1.1. Addressed in #1229. - Upgraded
sanitize-filenamefrom1.6.1to1.6.3. Addressed in #5216. - Upgraded
@cypress/get-windows-proxyfrom1.5.4to1.6.0. Addressed in #5108.
v3.4.1: 3.4.1
Released 7/29/2019
Dashboard Features:
- We’re excited to announce GitHub integration for the Cypress Dashboard. You can now get timely and useful test run information within pull-requests via status checks and pull-request comments. Learn all about it on our blog. Addresses #981.
Bugfixes:
- Fixed a bug where the content of pages using non-UTF-8 character encoding would become corrupted when opened in Cypress. Fixes #3479, #1543, and #3650.
- Fixed a regression introduced in 3.4.0 that caused an error to be thrown when chaining together multiple assertions using the
andchainable getter. Fixes #4833. - The
includeandincludesassertion chainers now correctly work the same ascontainandcontainsassertion chainers. Fixes #4833. - Cypress now correctly works offline on Windows when visiting a localhost URL. Fixes #4763.
cy.type()now factors in thereadonlyproperty of<input />elements, and will wait for this property to befalsebefore attempting to type. Fixes #1246.- Variables beginning with
topandlocationin your application code are no longer modified whenmodifyObstructiveCodeistrue. Fixes #4794. - We removed erroneous socket connections when the browser is initially launching. Fixes #4776.
- Fixed a bug when dismissing pinned snapshots that would cause the page to be wiped with nothing rendered. Fixes #4864.
- We upgraded the
mocha-teamcity-reporterdependency so that it no longer errors in certain situations when trying to access duration on tests. Fixes #4654. - We upgraded the
lodashdependency to fix a security vulnerability warning. Fixes #4699, #4730, #4743.
Misc:
- We now ensure we are shipping with production versions of dependencies such as
react,mobx, etc. This should help to prevent conflicts with Developer Tools extensions and increase performance by reducing memory, heap allocation, and overall JS bundle size. Addresses #4844. - Video recordings now wait after all tests finish to ensure that the video captures the final rendered frames of the browser. This prevents the last few paints from being cut off. Fixes #2370.
- Cypress now looks for any npm proxy configuration values as a fallback when no other system proxy configuration is found. This brings this feature into parity with how npm reads off proxy configuration values during an
npm install. Addresses #4719. - We updated the messaging when there is a failure downloading Cypress to recommend checking your proxy settings. Addresses #1662.
- A warning message now displays if you attempt to run the Cypress binary directly instead of going through the cypress
npmpackage. Addresses #1573. - There are newly added examples in the TypeScript definitions for custom commands,
cy.location()and.should(). Addresses #3684 and #4715. - The types for the
cy.contains(content, options)syntax have been added. Addresses #4727. - Types for
cy.once()have been added. Addressed in #4788. - There is now a
{ parseSpecialCharSequences: false }option tocy.type()that disables parsing the special character sequences found between the{}characters. This will now type what you've provided literally without any special parsing. Fixes #4287. - You can now zoom in the main Test Runner window and also the Electron browser. Corresponding keyboard shortcuts for Zoom in, Zoom out and Actual Size are also available. Addresses #1231.
- When viewing the Test Runner's main window at its smallest size, the header text no longer incorrectly wraps. Addresses #86.
- We're continuing to make process in converting our codebase from CoffeeScript to JavaScript. Addresses #2690 in #4781 and #4817.
- We increased the cypress binary verification phase from 10 seconds to 30 seconds to accomodate underpowered or overwhelmed machines typically found in CI environments. Addresses #4624.
Documentation Changes:
- We have new instructions on how to set up GitHub Integration with the Cypress Dashboard.
- Updated instructions for adding types for custom commands in the TypeScript Support doc. Addressed in #1901
- Added a section about video encoding and how to speed up the encoding time to Screenshots and Videos doc. Addressed in #1880
Dependency Updates
- Upgraded
@ffmpeg-installer/ffmpegfrom1.0.17to1.0.19. Addressed in #4792. - Upgraded
browserifyfrom13.3.0to16.3.0. Addressed in #4751, #4825 and #4826. - Upgraded
data-uri-to-bufferfrom1.2.0to2.0.1. Addressed in #4622. - Upgraded
duplexifyfrom4.0.0to4.1.1. Addressed in #4853. - Upgraded
graceful-fsfrom4.1.15to4.2.0. Addressed in #4818. - Upgraded
lodashfrom4.17.11to4.17.15. Addressed in #4684, #4709, #4784. - Upgraded
mocha-junit-reporterfrom1.23.0to1.23.1. Addressed in #4785. - Upgraded
p-queuefrom1.2.0to6.1.0. Addressed in #4750. - Upgraded
semverfrom6.0.0to6.3.0. Addressed in #4797. - We also updated and removed some dependencies used for development.
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone America/New_York, 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.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.