testing-library / testcafe-testing-library

:ox: Simple and complete custom Selectors for Testcafe that encourage good testing practices.
http://npm.im/@testing-library/testcafe
MIT License
71 stars 15 forks source link

chore(deps-dev): Bump testcafe from 1.20.1 to 2.0.0 #364

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps testcafe from 1.20.1 to 2.0.0.

Release notes

Sourced from testcafe's releases.

v2.0.0

What’s Changed

v2.0.0-rc.4

What’s Changed

v2.0.0-rc.3

What’s Changed

  • fix: removed unnecessary disposing a temp directory for screenshots (#7250) @​Aleksey28

v2.0.0-rc.2

What’s Changed

v2.0.0-rc.1

What’s Changed

v1.20.2-alpha.1

What’s Changed

Changelog

Sourced from testcafe's changelog.

Changelog

v2.0 (2022-08-31)

TypeScript update

:warning: TestCafe 2.0 includes a breaking change. The framework’s built-in TypeScript compiler has been updated from version 3.9 to version 4.7. The vast majority of TestCafe users should not experience any issues during the upgrade. However, since TypeScript does not follow the semver versioning policy, even minor TypeScript updates contain breaking changes. Some TypeScript users may need to perform additional actions to ensure the compatibility of their test code.

Read the TestCafe 2.0 Migration Guide to learn more.

Improvement: New ways to ignore JavaScript errors

TestCafe v2.0 introduces new ways to ignore JavaScript errors during test runs.

Two new methods allow you to ignore errors on a per-test or a per-fixture basis.

  • Use the test.skipJsErrors method to ignore JavaScript errors in specific tests.
  • Use the fixture.skipJsErrors method to ignore JavaScript errors for specific fixtures.
  • The t.skipJsErrors action lets you ignore JavaScript errors at specific points in the test.

For each of the methods above, you can define the following options:

  • The pageUrl option filters errors by page URL.
  • The message option filters errors by message.
  • The stack option filters errors by call stack.

Read the Skip JavaScript Errors recipe to learn more.

Commits


Dependabot compatibility score

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)
dependabot[bot] commented 2 years ago

Superseded by #371.