9.1.0

Released Released on November 21, 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 for process.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 to this when overridden. Fixes #18899.

  • Test configuration is now correctly applied when using only. Fixes #18959.