|
| 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 | +  |
| 30 | + |
| 31 | + * run workers command |
| 32 | + |
| 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 | + |
1 | 63 | ## 3.6.5
|
2 | 64 |
|
3 | 65 | ❤️ Thanks all to those who contributed to make this release! ❤️
|
|
0 commit comments