Skip to content

Commit 641e674

Browse files
committed
update docs
1 parent 63b1d50 commit 641e674

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed

docs/changelog.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,68 @@ layout: Section
77

88
# Releases
99

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

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

docs/community-helpers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Please **add your own** by editing this page.
4343
* [codeceptjs-slack-reporter](https://www.npmjs.com/package/codeceptjs-slack-reporter) Get a Slack notification when one or more scenarios fail.
4444
* [codeceptjs-browserlogs-plugin](https://github.com/pavkam/codeceptjs-browserlogs-plugin) Record the browser logs for failed tests.
4545
* [codeceptjs-testrail](https://github.com/PeterNgTr/codeceptjs-testrail) - a plugin to integrate with [Testrail](https://www.gurock.com/testrail)
46+
* [codeceptjs-monocart-coverage](https://github.com/cenfun/codeceptjs-monocart-coverage) - a plugin to generate coverage reports, it integrate with [monocart coverage reports](https://github.com/cenfun/monocart-coverage-reports)
4647

4748
## Browser request control
4849
* [codeceptjs-resources-check](https://github.com/luarmr/codeceptjs-resources-check) Load a URL with Puppeteer and listen to the requests while the page is loading. Enabling count the number or check the sizes of the requests.

0 commit comments

Comments
 (0)