Skip to content

Commit 716aa91

Browse files
BayheckBayheck
and
Bayheck
authored
release: v3.7.0 (#8334)
<!-- Thank you for your contribution. Before making a PR, please read our contributing guidelines at https://github.com/DevExpress/testcafe/blob/master/CONTRIBUTING.md#code-contribution We recommend creating a *draft* PR, so that you can mark it as 'ready for review' when you are done. --> ## Purpose _Describe the problem you want to address or the feature you want to implement._ ## Approach _Describe how your changes address the issue or implement the desired functionality in as much detail as possible._ ## References _Provide a link to the existing issue(s), if any._ ## Pre-Merge TODO - [ ] Write tests for your proposed changes - [ ] Make sure that existing tests do not fail --------- Co-authored-by: Bayheck <adil.rakhaliyev@devexpress.com>
1 parent d218487 commit 716aa91

File tree

4 files changed

+39
-4
lines changed

4 files changed

+39
-4
lines changed

.publishrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"gitTag": true
99
},
1010
"confirm": false,
11-
"publishTag": "rc",
11+
"publishTag": "latest",
1212
"prePublishScript": "gulp test-server",
1313
"postPublishScript": ""
1414
}

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Changelog
22

3+
## TestCafe v3.7.0 Released
4+
5+
The TestCafe v3.7.0 update includes the capability to use `Metadata` as an interface, `esm` configuration file option, and a number of bug fixes.
6+
7+
meta-readmore
8+
9+
### Declare Metadata Interface
10+
11+
Earlier versions of TestCafe supported `Metadata` as a type. In TestCafe v3.7.0 and higher, you should declare `Metadata` as an interface.
12+
13+
```js
14+
// testcafe.global.d.ts
15+
declare module "testcafe" {
16+
global {
17+
interface Metadata {
18+
manual?: boolean,
19+
}
20+
}
21+
}
22+
```
23+
24+
### New Configuration File Option: esm
25+
26+
Earlier versions of TestCafe supported the [ESM Module](https://testcafe.io/documentation/404258/guides/advanced-guides/esm-module-support) from the CLI only. In TestCafe v3.7.0 and higher, you can use the [esm](https://testcafe.io/documentation/402638/reference/configuration-file#esm) configuration file option. Note that this option **only works** with Node.js 18.19-18.xx, and 20.8.0 and up.
27+
28+
### Bug Fixes
29+
30+
* CDP client tab creation causes a `WebSocket connection closed` error in Chrome v130 ([#8286](https://github.com/DevExpress/testcafe/issues/8286)).
31+
* An unhandled promise rejection occurs while launching sub-windows ([#8258](https://github.com/DevExpress/testcafe/issues/8258)).
32+
* Assertions that perform visibility checks fail despite elements being visible on the page ([#8237](https://github.com/DevExpress/testcafe/issues/8237)).
33+
* The [t.getCurrentCDPSession](https://testcafe.io/documentation/404913/reference/test-api/testcontroller/getcurrentcdpsession) method returns `unknown` ([#8228](https://github.com/DevExpress/testcafe/issues/8228)).
34+
* [Native Automation] Request hooks are applied to skipped tests ([#8229](https://github.com/DevExpress/testcafe/issues/8229)).
35+
* A `WebSocket connection closed` error occurs while running TestCafe in Chrome v127. The updated version includes the `--disable-search-engine-choice-screen` flag ([#8240](https://github.com/DevExpress/testcafe/issues/8240)).
36+
* A `leaveElement` method call causes an error when the `prevElement` object is removed from the DOM ([#8264](https://github.com/DevExpress/testcafe/issues/8264)).
37+
338
## v3.6.2 (2024-07-02)
439

540
### Bug Fixes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "testcafe",
33
"description": "Automated browser testing for the modern web development stack.",
44
"license": "MIT",
5-
"version": "3.7.0-rc.4",
5+
"version": "3.7.0",
66
"author": {
77
"name": "Developer Express Inc.",
88
"url": "https://www.devexpress.com/"

0 commit comments

Comments
 (0)