You can now listen to before:run and after:run events in the plugins file. See the before:run and after:run docs for more information. Addressed in #14238 and #14263.
You can now listen to before:spec and after:spec events in the plugins file. See the before:spec and after:spec docs for more information. Addressed in #9646 and #14178.
The Timed out retrying error message now displays the amount of time Cypress retried. Addresses #5781.
Cypress no longer fails to find specs if you set the fixtures folder to be the same as the integration folder. Fixes #14226.
Cypress no longer fails to show error code frames if the spec filename has a space in it, fixes #7553.
Misc:
scrollBehavior is now an allowed type when passed as test configuration. Addresses #9643.
The FileObject type for the file argument of the file:preprocessor event now includes the EventEmitter type. Addresses #9276.
Dependency Updates:
Upgraded electron from 11.0.2 to 11.0.3. Addressed in #9409.
6.1.0
Released 12/07/2020
Features:
There's a new scrollBehavior configuration option that controls the viewport position when an element is scrolled prior to action commands. Possible values are 'top', 'bottom', 'center', 'nearest', and false, with 'top' being the default. scrollBehavior: false disables scrolling altogether. scrollBehavior can be specified in global configuration, test configuration or individual action commands via options. Addresses #871 and #4356.
The Tests tab in the Test Runner now orders folders before files. This matches the ordering of most IDEs' file explorers. Addresses #7334.
Bugfixes:
Responses stubbed from cy.intercept() will now automatically set Access-Control-Allow-Origin and Access-Control-Allow-Credentials to permissive values unless explicitly overridden. Fixes #9264.
The Cannot read property "fireChangeEvent" of undefined error will no longer throw during a race condition when using cy.intercept(). cypress-io/cypress#9170
HTTP responses that cannot have a body (like HTTP 304 and HTTP 204) can now be awaited using cy.intercept(). Fixes #8934 and #8999.
We fixed an issue where HTTP redirects could not be awaited using cy.intercept() unless dynamically intercepted. Addressed in #9097.
Tests will no longer hang in certain situations when there's an error in a before() hook. Fixes #9162.
We no longer strip / from URLs when they are explicitly passed with query paramaters. Fixes #9360.
Fixed the regression in Cypress.dom.isVisible behavior for elements with position: fixed, addresses #8998 and #9031.
Deprecations:
Deprecations still work as before but will be removed from Cypress in a future release. We encourage you to update your code now to remove uses of deprecations.
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/react from 4.16.4 to 6.2.0.
Release notes
Sourced from
@cypress/react
's releases.... (truncated)
Commits
e581253
chore: release@cypress/react-v6
.2.0962322a
chore: release@cypress/mount-utils-v2
.1.075da5c7
chore: release@cypress/schematic-v2
.1.0da0705f
chore: release@cypress/angular-v1
.1.0c750eea
Merge pull request #23628 from cypress-io/develop95b6849
chore: bumping version to 10.7.0 (#23625)b5e6fd6
Merge branch 'master' into develop7f2522f
feat: show cloud connect options when hoving spec list fields (#23584)72b8a65
feat: Cypress Studio for Cypress 10 (#23544)6a614c3
fix: Issue 23486 (#23595)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)