You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are changes to how "slow" tests are determined and displayed in Cypress.
Addresses #18496.
Added a slowTestThreshold
configuration option to customize when tests are considered "slow" during
cypress run. A test that runs slower than the given threshold will display
in orange text in the default 'spec' reporter. This configuration can be set
in your Cypress config file or via specific
test configuration.
The default slow test threshold was changed from 75ms (Mocha's default) to
10000ms for e2e tests and 250ms for component tests. To restore the old
behavior, you can add "slowTestThreshold": 75 to your Cypress config file.
All tests will show the time the test ran in milliseconds during
cypress run with the default 'spec' reporter.
Users can pass an overwrite: true option to Cypress.Screenshot.defaults to
change default behavior to overwrite existing screenshots without having to
set overwrite for each cy.screenshot() command. Addresses
#7955.
Bugfixes:
Fixed a regression introduced in 8.6.0 where videos recorded in
Electron to the Dashboard were not playable in the Firefox or Safari browser
and were not compatible with QuickTime player in MacOS.
Fixed a regression introduced in 8.6.0 so that the warning about the
projectRoot directory not being writeable will now display correctly. Fixes
#18485.
Improved the error message when running Cypress without non-root permissions.
Fixes #18445.
An error now throws when invalid options are passed to the selectorPriority
configuration option of Cypress.SelectorPlayground.defaults. Valid values
are data-*, id, class, tag, attribute, or nth-child. Fixes
#7745.
Dependency Updates:
Pinned resolution of ua-parser-js to 0.7.24 to avoid dependency resolution
to the compromised package versions. Please read the
security advisory and
take actions advised as soon as possible. Addressed in
#18611
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesPull requests that update a dependency file
0 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps cypress from 8.4.0 to 8.7.0.
Release notes
Sourced from cypress's releases.
... (truncated)
Commits
2a7bfc9release 8.7.0 [skip ci]776b730feat: Add 'slowTestThreshold' and fix this.slow() inside specs (#18496)c027f28chore: Update Chrome (beta) to 96.0.4664.18 (#18604)252be9echore(server): align test folder structure to src folder structure (#18597)dcefd77fix: pin ua-parser-js to non compromised version (#18611)ffdb188Revert "pin ua-parser-js to non compromised version"1bf9406pin ua-parser-js to non compromised version5f94cadMerge pull request #18573 from cypress-io/fix-7745-validate-selector-priority...1ed4e57Merge branch 'develop' into fix-7745-validate-selector-priority-config94a3261chore: Update Chrome (stable) to 95.0.4638.54 (#18563)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)