Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

testcafe

Package Overview
Dependencies
Maintainers
4
Versions
464
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testcafe - npm Package Versions

1
47

2.1.0

Diff

Changelog

Source

v2.1.0 (2022-11-10)

Improvements

Improved handling of invisible elements
  • Visibility criteria update: TestCafe no longer interacts with elements that have the visibility: collapse attribute.
  • If the action target does not fit the visibility criteria, TestCafe outputs an error message that references the exact reason. (#7310).
Improved handling of overlapped elements
  • When another element overlaps the center of the action target, TestCafe scans the target element for available points of contact. If the selector timeout ends before TestCafe finds an unobstructed point, TestCafe outputs a warning message and interacts with the topmost element at the center of the original target (#7309).
  • TestCafe v2.1.0 contains an improved algorithm that detects whether extra scrolling can resolve an element obstruction issue. (#6208)

Bug Fixes

  • In some environments, TestCafe cannot take screenshots when the test runs in a headless Chromium-based browser (#7224).
  • Full-page screenshots in headless Chrome do not include the edges of the page (#5961).
  • TestCafe throws the "TypeError: Illegal invocation" error when the front-end code passes a number value to the Element.insertAdjacentText method (#7352).
belym.a.2105
published 2.1.0-rc.1 •

belym.a.2105
published 2.0.2 •

Changelog

Source

v2.0.2 (2022-10-31)

Bug Fixes

  • TestCafe doesn't include the flags necessary to launch Chrome in a Podman container (PR #7307 by @timnederhoff)
  • TestCafe doesn't warn users when it interacts with an element that obstructs the original action target (#2930)
  • TestCafe incorrectly parses regular expressions passed to the --skip-js-errors CLI flag (#7301)
belym.a.2105
published 2.0.2-rc.1 •

belym.a.2105
published 2.0.1 •

Changelog

Source

v2.0.1 (2022-09-26)

Bug Fixes

  • TestCafe yields incomplete video recordings in concurrency mode (#7218).
  • Video recordings in concurrency mode yield EPIPE errors that cause crashes (#7216).
  • Running TestCafe 1.20.1 and up with a high concurrency factor may nonetheless result in a MaxListenersExceededWarning warning (#7188).
belym.a.2105
published 2.0.1-rc.1 •

belym.a.2105
published 2.0.1-alpha.2 •

belym.a.2105
published 2.0.1-alpha.1 •

belym.a.2105
published 2.0.0 •

Changelog

Source

v2.0.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.

belym.a.2105
published 2.0.0-rc.4 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc