Cypress v4.11.0 Release Notes
Release Date: 2020-07-21 // almost 4 years ago-
๐ Released 7/21/2020
๐ Features:
- You can now pass an
ensureScrollability: false
option to.scrollTo()
to skip checking whether the element is scrollable. Addresses #1924. - ๐
cy.clock()
now accepts Dates as well as a Number for now. Fixes #7786.
๐ Bugfixes:
- ๐ Running multiple specs within Firefox during
cypress run
on Windows will no longer fail trying to make a connection to the browser. Fixes #6392. - ๐ Cypress will no longer throw a
Cannot read property 'isAttached' of undefined
error duringcypress run
on Firefox versions >= 75. Fixes #6813. - ๐ Fixed an issue where Cypress tests in Chromium-family browsers could randomly fail with the error "WebSocket is already in CLOSING or CLOSED state." Fixes #7180.
- ๐ Taking a screenshot of an element that changes height upon scroll will no longer throw an
invalid for option "size"
error. Fixes #6099. - ๐ง Setting
viewportHeight
orviewportWidth
from within the test configuration now properly changes the viewport size for the duration of the suite or test. - ๐ Setting deep objects and arrays on
config
within thepluginsFile
now sets the values correctly. Fixes #7959. - ๐ The progress bar for
cy.wait()
now reflects the correctrequestTimeout
andresponseTimeout
of the command. Fixes #7881. - โ The command's progress bar will not longer restart when its parent test is collapsed in the Command Log. Fixes #7912.
- Key value pairs sent to
ELECTRON_EXTRA_LAUNCH_ARGS
askey=value
will now be properly read in. Fixes #7994. - โ
Stubbed responses responding with an empty string to
cy.route()
now correctly display as 'xhr stub' in the Test Runner's Command Log. Fixes #8018. - โ Quickly reclicking the "Run All Tests" button in the Test Runners' Command Log will no longer throw errors about undefined properties and the tests will no longer hang. Fixes #7968.
Misc:
- ๐ The error messages thrown from
pluginsFile
andsupportFile
now mention that.ts
extensions are supported. Addresses #7940. - ๐ The style when focusing on tests in the Command Log has been updated. Addresses #7855.
โก๏ธ Dependency Updates:
- โฌ๏ธ Upgraded
@benmalka/foxdriver
from0.4.0
to0.4.1
. Addressed in #8040. - โฌ๏ธ Upgraded
firefox-profile
from1.3.1
to2.0.0
. Addressed in #8000. - โฌ๏ธ Upgraded
fix-path
from2.1.0
to3.0.0
. Addressed in #8028. - โฌ๏ธ Upgraded
human-interval
from0.1.6
to1.0.0
. Addressed in #8031. - โฌ๏ธ Upgraded
lodash
from4.17.15
to4.17.19
. Addressed in #7954. - โฌ๏ธ Upgraded
plist
from2.1.0
to3.0.1
. Addressed in #8045. - โฌ๏ธ Upgraded
proxy-from-env
from1.0.0
to1.1.0
. Addressed in #7900. - โฌ๏ธ Upgraded
resolve
from1.13.1
to1.17.0
. Addressed in #7989. - โฌ๏ธ Upgraded
systeminformation
from4.21.1
to4.26.9
. Addressed in #7975. - โฌ๏ธ Upgraded
uuid
from3.3.2
to8.2.0
. Addressed in #7976, #8002, and #8011.
- You can now pass an