Released 11/22/2021
Features:
- A
CYPRESS
environment variable will be set to true in child processes where
Cypress runs user code in Node.js. You can now detect that you're running in
Cypress by looking forprocess.env.CYPRESS
. Addresses
#18805.
Bugfixes:
- Specs with % in the filename will no longer fail to load and now behave as any
other spec. Fixes
#18871. - When using the Selector Playground, the HTML attribute's value will be wrapped
in double-quotes. Fixes
#1884. - The call count is now shown in the Command Log when using
cy.stub().log(false)
. Fixes
#18907. - The warning message for retrying connection to a browser has been improved to
indicate when it is still waiting. Fixes
#18644. - Cypress commands that rely on
this
context now have access tothis
when
overridden. Fixes #18899.