Skip to content

Commit 63b1d50

Browse files
authored
release 3.6.6 (#4500)
* release 3.6.6 * release 3.6.6
1 parent 48a02c4 commit 63b1d50

File tree

2 files changed

+64
-2
lines changed

2 files changed

+64
-2
lines changed

CHANGELOG.md

+62
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,65 @@
1+
## 3.6.6
2+
3+
❤️ Thanks all to those who contributed to make this release! ❤️
4+
5+
🛩️ *Features*
6+
* feat(locator): add withAttrEndsWith, withAttrStartsWith, withAttrContains (#4334) - by @Maksym-Artemenko
7+
* feat: soft assert (#4473) - by @kobenguyent
8+
* Soft assert
9+
10+
Zero-configuration when paired with other helpers like REST, Playwright:
11+
12+
```js
13+
// inside codecept.conf.js
14+
{
15+
helpers: {
16+
Playwright: {...},
17+
SoftExpectHelper: {},
18+
}
19+
}
20+
```
21+
22+
```js
23+
// in scenario
24+
I.softExpectEqual('a', 'b')
25+
I.flushSoftAssertions() // Throws an error if any soft assertions have failed. The error message contains all the accumulated failures.
26+
```
27+
* feat(cli): print failed hooks (#4476) - by @kobenguyent
28+
* run command
29+
![Screenshot 2024-09-02 at 15 25 20](https://github.com/user-attachments/assets/625c6b54-03f6-41c6-9d0c-cd699582404a)
30+
31+
* run workers command
32+
![Screenshot 2024-09-02 at 15 24 53](https://github.com/user-attachments/assets/efff0312-1229-44b6-a94f-c9b9370b9a64)
33+
34+
🐛 *Bug Fixes*
35+
* fix(AI): minor AI improvements - by @DavertMik
36+
* fix(AI): add missing await in AI.js (#4486) - by @tomaculum
37+
* fix(playwright): no async save video page (#4472) - by @kobenguyent
38+
* fix(rest): httpAgent condition (#4484) - by @kobenguyent
39+
* fix: DataCloneError error when `I.executeScript` command is used with `run-workers` (#4483) - by @code4muktesh
40+
* fix: no error thrown from rerun script (#4494) - by @lin-brian-l
41+
42+
43+
```js
44+
// fix the validation of httpAgent config. we could now pass ca, instead of key/cert.
45+
{
46+
helpers: {
47+
REST: {
48+
endpoint: 'http://site.com/api',
49+
prettyPrintJson: true,
50+
httpAgent: {
51+
ca: fs.readFileSync(__dirname + '/path/to/ca.pem'),
52+
rejectUnauthorized: false,
53+
keepAlive: true
54+
}
55+
}
56+
}
57+
}
58+
```
59+
60+
📖 *Documentation*
61+
* doc(AI): minor AI improvements - by @DavertMik
62+
163
## 3.6.5
264

365
❤️ Thanks all to those who contributed to make this release! ❤️

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codeceptjs",
3-
"version": "3.6.5",
3+
"version": "3.6.6",
44
"description": "Supercharged End 2 End Testing Framework for NodeJS",
55
"keywords": [
66
"acceptance",
@@ -183,4 +183,4 @@
183183
"strict": false
184184
}
185185
}
186-
}
186+
}

0 commit comments

Comments
 (0)