|
| 1 | +## 3.5.13 |
| 2 | + |
| 3 | +❤️ Thanks all to those who contributed to make this release! ❤️ |
| 4 | + |
| 5 | +🛩️ *Features* |
| 6 | +* feat: mock server helper (#4155) - by @KobeNguyenT |
| 7 | +  |
| 8 | +* feat(webdriver): network traffics manipulation (#4166) - by @KobeNguyenT |
| 9 | + [Webdriver] Added commands to check network traffics - supported only with devtoolsProtocol |
| 10 | + * `startRecordingTraffic` |
| 11 | + * `grabRecordedNetworkTraffics` |
| 12 | + * `flushNetworkTraffics` |
| 13 | + * `stopRecordingTraffic` |
| 14 | + * `seeTraffic` |
| 15 | + * `dontSeeTraffic` |
| 16 | + |
| 17 | +Examples: |
| 18 | + |
| 19 | +```js |
| 20 | +// recording traffics and verify the traffic |
| 21 | + I.startRecordingTraffic(); |
| 22 | + I.amOnPage('https://codecept.io/'); |
| 23 | + I.seeTraffic({ name: 'traffics', url: 'https://codecept.io/img/companies/BC_LogoScreen_C.jpg' }); |
| 24 | +``` |
| 25 | + |
| 26 | +```js |
| 27 | +// check the traffic with advanced params |
| 28 | + I.amOnPage('https://openai.com/blog/chatgpt'); |
| 29 | + I.startRecordingTraffic(); |
| 30 | + I.seeTraffic({ |
| 31 | + name: 'sentry event', |
| 32 | + url: 'https://images.openai.com/blob/cf717bdb-0c8c-428a-b82b-3c3add87a600', |
| 33 | + parameters: { |
| 34 | + width: '1919', |
| 35 | + height: '1138', |
| 36 | + }, |
| 37 | + }); |
| 38 | +``` |
| 39 | +* feat(webapi): add waitForCookie (#4169) - by @KobeNguyenT |
| 40 | + Waits for the specified cookie in the cookies. |
| 41 | + |
| 42 | +```js |
| 43 | +I.waitForCookie("token"); |
| 44 | +``` |
| 45 | + |
| 46 | +🐛 *Bug Fixes* |
| 47 | +* fix(appium): update performSwipe with w3c protocol v2 (#4181) - by @MykaLev |
| 48 | +* fix(webapi): selectOption method (#4157) - by @dyaroman |
| 49 | +* fix: waitForText doesnt throw error when text doesnt exist (#4195) - by @KobeNguyenT |
| 50 | +* fix: use this.options instead of this.config (#4186) - by @KobeNguyenT |
| 51 | +* fix: config path without selenium (#4184) - by @KobeNguyenT |
| 52 | +* fix: bring to front condition in _setPage (#4173) - by @KobeNguyenT |
| 53 | +* fix: complicated locator (#4170) - by @KobeNguyenT |
| 54 | + Adding of `':nth-child'` into the array |
| 55 | + |
| 56 | +` const limitation = [':nth-of-type', ':first-of-type', ':last-of-type', ':nth-last-child', ':nth-last-of-type', ':checked', ':disabled', ':enabled', ':required', ':lang']; ` fixes the issue. Then an old conversion way over `css-to-xpath` is used. |
| 57 | + |
| 58 | +📖 *Documentation* |
| 59 | +* fix(docs): missing docs for codecept UI (#4175) - by @KobeNguyenT |
| 60 | +* fix(docs): Appium documentation sidebar menu links (#4188) - by @mirao |
| 61 | + |
| 62 | +🛩️ **Several bugfixes and improvements for Codecept-UI** |
| 63 | +* Several internal improvements |
| 64 | +* fix: title is not showing when visiting a test |
| 65 | +* fix: handle erros nicely |
| 66 | + |
1 | 67 | ## 3.5.12
|
2 | 68 |
|
3 | 69 | ❤️ Thanks all to those who contributed to make this release! ❤️
|
|
0 commit comments