Skip to content

Commit 1b6b950

Browse files
authoredFeb 16, 2024
release 3.5.13 (#4200)
1 parent e1aec12 commit 1b6b950

File tree

2 files changed

+68
-2
lines changed

2 files changed

+68
-2
lines changed
 

‎CHANGELOG.md

+66
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,69 @@
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+
![Screenshot 2024-01-25 at 13 47 59](https://github.com/codeceptjs/CodeceptJS/assets/7845001/8fe7aacf-f1c9-4d7e-89a6-3748b3ccb26c)
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+
167
## 3.5.12
268

369
❤️ 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.5.12",
3+
"version": "3.5.13",
44
"description": "Supercharged End 2 End Testing Framework for NodeJS",
55
"keywords": [
66
"acceptance",
@@ -171,4 +171,4 @@
171171
"npm": ">=5.6.0"
172172
},
173173
"es6": true
174-
}
174+
}

0 commit comments

Comments
 (0)
Please sign in to comment.