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.
9.0.0
Released 11/10/2021
Breaking Changes:
The nodeVersion configuration option now defaults to system. The behavior
of the system option has changed to always use the Node.js binary/version
that launched Cypress. If Cypress was not launched via the terminal, Cypress
will use the bundled Node.js version. This could change the behavior of code
within your pluginsFile since it may be run in your system Node.js
version. Addresses
#18684.
Windows 32-bit is no longer supported in Cypress. Addresses
#17962.
An error will now be thrown if an invalid value is passed to Cypress.config.
Previously invalid values were ignored and could cause unexpected behavior.
Addresses #18589.
cy.contains() no longer yields the <body> element when it matches the
content of <script> or <style> tags. Addresses
#14861.
Attempting to add an existing built-in Cypress command using
Cypress.Commands.add() will now throw an error, indicating that
Cypress.Commands.overwrite() should be used instead to overwrite the
This version was pushed to npm by emilyrohrbough, a new releaser for cypress since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps cypress from 8.3.1 to 9.1.0.
Release notes
Sourced from cypress's releases.
... (truncated)
Commits
70556a7
Merge branch 'develop' into master5dc6c88
fix: Allow 'this' to be used in overridden commands (#18899)2a471d6
fix(react): link to rerender example (#19020)a90a7cf
chore(deps): update dependency aws-sdk to v2.814.0 [security] (#18948)b7002bf
fix: test config overrides leak for .only execution (#18961)de4fca3
feat: Set CYPRESS=true as env var in child processes where Cypress runs user ...f251681
fix: Restore broken gif (#18987)e4f5b10
feat: use hoisted yarn install in binary build (#17285)2fada98
chore: release@cypress/vite-dev-server-v2
.2.1fc6131c
Merge branch 'master' into developMaintainer changes
This version was pushed to npm by emilyrohrbough, a new releaser for cypress since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)