Skip to content

Commit

Permalink
release: v3.7.0 (#8334)
Browse files Browse the repository at this point in the history
<!--
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 <[email protected]>
  • Loading branch information
Bayheck and Bayheck authored Nov 4, 2024
1 parent d218487 commit 716aa91
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .publishrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"gitTag": true
},
"confirm": false,
"publishTag": "rc",
"publishTag": "latest",
"prePublishScript": "gulp test-server",
"postPublishScript": ""
}
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Changelog

## TestCafe v3.7.0 Released

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.

meta-readmore

### Declare Metadata Interface

Earlier versions of TestCafe supported `Metadata` as a type. In TestCafe v3.7.0 and higher, you should declare `Metadata` as an interface.

```js
// testcafe.global.d.ts
declare module "testcafe" {
global {
interface Metadata {
manual?: boolean,
}
}
}
```

### New Configuration File Option: esm

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.

### Bug Fixes

* CDP client tab creation causes a `WebSocket connection closed` error in Chrome v130 ([#8286](https://github.com/DevExpress/testcafe/issues/8286)).
* An unhandled promise rejection occurs while launching sub-windows ([#8258](https://github.com/DevExpress/testcafe/issues/8258)).
* Assertions that perform visibility checks fail despite elements being visible on the page ([#8237](https://github.com/DevExpress/testcafe/issues/8237)).
* The [t.getCurrentCDPSession](https://testcafe.io/documentation/404913/reference/test-api/testcontroller/getcurrentcdpsession) method returns `unknown` ([#8228](https://github.com/DevExpress/testcafe/issues/8228)).
* [Native Automation] Request hooks are applied to skipped tests ([#8229](https://github.com/DevExpress/testcafe/issues/8229)).
* 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)).
* A `leaveElement` method call causes an error when the `prevElement` object is removed from the DOM ([#8264](https://github.com/DevExpress/testcafe/issues/8264)).

## v3.6.2 (2024-07-02)

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "testcafe",
"description": "Automated browser testing for the modern web development stack.",
"license": "MIT",
"version": "3.7.0-rc.4",
"version": "3.7.0",
"author": {
"name": "Developer Express Inc.",
"url": "https://www.devexpress.com/"
Expand Down

0 comments on commit 716aa91

Please sign in to comment.