Skip to content

Releases: DevExpress/testcafe

v2.5.1-rc.1

20 Apr 06:06
07ca90f
Compare
Choose a tag to compare

What’s Changed

v2.5.0

06 Apr 13:36
Compare
Choose a tag to compare

TestCafe v2.5.0 Released

TestCafe v2.5.0 introduces three major enhancements:

  • The new t.report method passes custom data to the test reporter.
  • The new --native-automation flag enables TestCafe to automate all Chromium-based browsers with the native CDP protocol.
  • The new --esm flag allows users to import ESM modules in test files.

meta-readmore

t.report

Include the t.report() method in your test to pass custom data to the reporter.

Specify arguments of any type (string, array, Object, etc). Separate arguments with a comma:

await
    t.report( 
        'text', 
        {'key': 'value'},
        ['arrayItem1', 'arrayItem2']
    );

The default spec reporter displays custom data after test completion, once for each browser that runs the test.
treport

CDP Automation: Now Stable

TestCafe v2.2.0 introduced an experimental proxyless mode that automated Google Chrome with the native CDP protocol.

For the v2.5.0 release, the TestCafe team addressed most issues that our users discovered when the capability was "experimental", and gave it a new name --- Native Automation mode.

Unlike its predecessor, the Native Automation mode supports all Chromium-based browsers, including Microsoft Edge. Enable the nativeAutomation option in the command line interface, the configuration file, or the runner.run() function to try this capability.

Important
TestCafe v2.5.0 removed the experimentalProxyless option from the createTestCafe function. Use the runner.run() function to enable Native Automation mode from the TestCafe Test Runner API.

ESM Module Support: Now Stable

TestCafe v2.5.0 drops the experimental prefix from the --esm CLI flag. Enable the --esm flag to import modules that do not support CommonJS.

testcafe chrome test.js --esm

v2.5.0-rc.3

06 Apr 08:48
Compare
Choose a tag to compare
v2.5.0-rc.3 Pre-release
Pre-release

What's Changed

Full Changelog: v2.5.0-rc.2...v2.5.0-rc.3

v2.5.0-rc.2

04 Apr 11:56
Compare
Choose a tag to compare
v2.5.0-rc.2 Pre-release
Pre-release
release: publish 2.5.0-rc.2

v2.5.0-rc.1

30 Mar 14:56
Compare
Choose a tag to compare
v2.5.0-rc.1 Pre-release
Pre-release

What’s Changed

v2.4.0

07 Mar 08:47
661b8b3
Compare
Choose a tag to compare

v2.4.0 (2023-03-06)

TestCafe v2.4.0 introduces the Visual Selector Debugger. You can now create and debug Selector queries in the browser window.

Visual Selector Debugger

TestCafe v2.4.0 displays the Visual Selector Debugger panel when you activate Debug Mode. Use the panel to debug Selector queries from your test, or generate new Selector queries.

If a Selector query causes your test to fail, add the t.debug() command after the last successful action, and launch the test.

When the test reaches the breakpoint, the window that runs the test displays the Selector Debugger panel. Copy the failing Selector query from test code to the Selector Debugger input field.

  • TestCafe highlights page elements that match the Selector query.
  • If no elements match the Selector query, the panel displays the No Matching Elements warning.
  • If your Selector query contians a syntax error, the panel displays the Invalid Selector warning.

To interactively generate a Selector query, click the Pick button, and select the target element on the page.

For more information on the panel, its capabilities, and limitations, read the Visual Selector Debugger Guide.

Bug Fixes

v2.4.0-rc.1

03 Mar 17:47
8fd03c3
Compare
Choose a tag to compare
v2.4.0-rc.1 Pre-release
Pre-release

What’s Changed

v2.3.1

09 Feb 14:52
8278596
Compare
Choose a tag to compare

v2.3.1 (2023-02-09)

TestCafe v2.3.1 introduces a number of bug fixes.

Bug Fixes

  • Client-side code with optional chaining may trigger a TestCafe error (#7387).
  • TestCafe cannot interact with images from the Shadow DOM (#7454).
  • TestCafe v2.3.0 fails to launch when the test.meta method precedes test code (#7482).
  • When TestCafe launches a headless instance of Google Chrome in proxyless mode, it cannot interact with elements that are overlapped by the status bar (#7483).

v2.3.1-rc.2

08 Feb 20:08
0ddf646
Compare
Choose a tag to compare
v2.3.1-rc.2 Pre-release
Pre-release

What’s Changed

v2.3.1-rc.1

06 Feb 11:36
6f50233
Compare
Choose a tag to compare
v2.3.1-rc.1 Pre-release
Pre-release

What’s Changed