Skip to content

Releases: DevExpress/testcafe

v2.3.0-rc.2

24 Jan 17:11
15f9d4f
Compare
Choose a tag to compare
v2.3.0-rc.2 Pre-release
Pre-release

What’s Changed

v2.3.0-rc.1

19 Jan 15:23
bef6538
Compare
Choose a tag to compare
v2.3.0-rc.1 Pre-release
Pre-release

2.3.0 (2023-01-19)

Create TestCafe

Experimental: ECMAScript module support

Bug Fixes

  • TestCafe doesn’t delete expired cookies (#7432).
  • TestCafe mishandles windows that appear when the user clicks a link with a _blank target (#6926).
  • TestCafe tests fail to start because the framework triggers the dns.setDefaultResultOrder method in older Node.js environments (#7447).
  • TestCafe dependencies include a vulnerable, outdated version of the babel-plugin-module-resolver package (#7456)

v2.2.0

29 Dec 13:44
319e764
Compare
Choose a tag to compare

v2.2.0 (2022-12-29)

TestCafe v2.2.0 introduces user-defined custom actions and an important experimental capability. Google Chrome users can now enable "proxyless mode" to speed up their test suite.

Custom Action Support

TestCafe users can now define custom test actions. Place the definition function in a JavaScript configuration file:

module.exports = {
  customActions: {
   async makeCoffee (args) {
        await this.click(args);
    }, 
  }
};

Include custom methods in your tests alongside other TestController methods.
Add the customActions prefix when you call the action:

test('Test with a custom action', async t => {
    await t.click()
        .customActions.makeCoffee()
        .click();
})

Experimental: Proxyless mode

TestCafe runs an under-the-hood reverse proxy to automate tests across different browsers. But this technique complicates the framework. Native automation protocols offer superior automation speeds and greater stability. That's why the TestCafe team decided to gradually phase the reverse proxy out in favor of native support for these automation protocols.

TestCafe v2.2.0 includes an experimental option that disables the proxy for Google Chrome.

testcafe chrome tests --experimental-proxyless

You can enable this option in the command line interface, the Test Runner API, and the configuration file. Read the Proxyless mode guide for more information.

Bug Fixes

  • TestCafe doesn't hide the live mode status bar when the bar obstructs the action target (#7384)
  • The 'Target element is overlapped' message does not reference the Selector that caused the warning (#7386)
  • The TestCafe Dashboard reporter includes an outdated uuid dependency (testcafe-reporter-dashboard#111)
  • TestCafe doesn't display the correct error message when the framework throws an exception (#6936)
  • TestCafe retains some cookies after the user requests their deletion (PR testcafe-hammerhead#2818)
  • TestCafe cannot load test pages with the localhost URL on Node.js v17 and up (#7396)
  • TestCafe cannot take screenshots in headless Chrome on Node.js v17 and up (#7408)
  • Web workers that originate from Blob URLs throw an error when they call the importScript function (#7378)
  • TestCafe doesn't set the correct Request header when an iframe points the user to a new URL (#7376, PR testcafe-hammerhead#2813 by @naggingant)
  • TestCafe cannot interact with options that belong to a <select> element with the multiple attribute (PR testcafe-hammerhead#2815)

release: update the TestCafe Dashboard reporter, publish v2.2.0-rc.2 …

23 Dec 09:07
770f1a1
Compare
Choose a tag to compare

What’s Changed

v2.2.0-rc.1

19 Dec 10:09
bc95932
Compare
Choose a tag to compare
v2.2.0-rc.1 Pre-release
Pre-release

2.2.0 (2022-12-22)

Improvement: Custom Test Actions support

Improvement: Experimental "No Proxy" mode

Bug Fixes

  • The status bar does not disappear (#7384)
  • Add callsite and selector expression to the overlapped warning message (#7386)
  • Update uuid dependency (testcafe-reporter-dashboard#111)
  • Render correct error text for internal uncaught errors (#6936)
  • fix: fixed cookie synchronization (PR testcafe-hammerhead#2818)
  • TestCafe crashes on Node 18 (#7396)
  • Screenshots fail in Headless Chrome in Node >= 17 (at least on a Mac) (#7408)
  • A JavaScript error occurs on testing a Blazor app page containing Monaco Editor (#7378)
  • Ajax request referrer header altered after iframe loads (#7376)
  • fix: fixed getSelectElementSize (PR testcafe-hammerhead#2815)

v2.1.1-alpha.3

15 Dec 12:52
d95ec85
Compare
Choose a tag to compare
v2.1.1-alpha.3 Pre-release
Pre-release

What’s Changed

v2.1.1-alpha.2

06 Dec 07:37
2068f9b
Compare
Choose a tag to compare
v2.1.1-alpha.2 Pre-release
Pre-release

What’s Changed

v2.1.1-alpha.1

29 Nov 09:46
b87fc27
Compare
Choose a tag to compare
v2.1.1-alpha.1 Pre-release
Pre-release

What’s Changed

v2.1.0

10 Nov 14:37
fd2d47e
Compare
Choose a tag to compare

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).

v2.1.0-rc.1

03 Nov 07:38
fbaf9f0
Compare
Choose a tag to compare
v2.1.0-rc.1 Pre-release
Pre-release

What’s Changed