testcafe 1.20.1-rc.2 → 1.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -18
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## v1.20.
|
|
3
|
+
## v1.20.1 (2022-08-08)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* Running 11 or more tests concurrently causes a memory leak ([#7188](https://github.com/DevExpress/testcafe/issues/7188)).
|
|
8
|
+
* TestCafe cannot switch to iframes that descend from a shadowRoot element ([#3673](https://github.com/DevExpress/testcafe/issues/3673)).
|
|
9
|
+
* TestCafe attempts to execute JSON files without `fixture` and `test` definitions (PR [#7187](https://github.com/DevExpress/testcafe/pull/7187)).
|
|
10
|
+
* TestCafe incorrectly processes request hooks that return status code 500 ([#7213](https://github.com/DevExpress/testcafe/issues/7213))
|
|
11
|
+
|
|
12
|
+
## v1.20.0 (2022-07-14)
|
|
4
13
|
|
|
5
14
|
> :warning:
|
|
6
15
|
> Warning: [Impending breaking change](#coming-in-testcafe-20-typescript-4).
|
|
@@ -14,10 +23,10 @@ TestCafe v1.20.0 includes two major capabilities: an [API testing toolkit](#api-
|
|
|
14
23
|
TestCafe v1.20.0 includes a comprehensive set of server-side API testing tools. You can add dedicated API tests to your test suite, or include API testing methods in existing functional tests.
|
|
15
24
|
|
|
16
25
|
The new [Request](https://testcafe.io/documentation/403981/reference/test-api/testcontroller/request) test action executes an HTTP request and returns the server's response.
|
|
17
|
-
|
|
26
|
+
|
|
18
27
|
```js
|
|
19
28
|
const responseBody = await t.request(`http://localhost:3000/helloworld`).body;
|
|
20
|
-
|
|
29
|
+
|
|
21
30
|
t.expect(responseBody).contains('Hello World') // true
|
|
22
31
|
```
|
|
23
32
|
|
|
@@ -46,9 +55,9 @@ fixture`Test structure`
|
|
|
46
55
|
|
|
47
56
|
### Experimental: Chrome User Flow Replays
|
|
48
57
|
|
|
49
|
-
TestCafe v1.20.0 introduces **experimental, limited** support for [Google Chrome user flow recordings](https://developer.chrome.com/docs/devtools/recorder/).
|
|
58
|
+
TestCafe v1.20.0 introduces **experimental, limited** support for [Google Chrome user flow recordings](https://developer.chrome.com/docs/devtools/recorder/).
|
|
50
59
|
|
|
51
|
-
Record page actions in Google Chrome and export the recording as a JSON file. TestCafe will play the recording back just like it would a generate a test report
|
|
60
|
+
Record page actions in Google Chrome and export the recording as a JSON file. TestCafe will play the recording back just like it would a generate a test report
|
|
52
61
|
|
|
53
62
|
Read the [User Flow Recordings](https://testcafe.io/documentation/403998/guides/experimental-capabilities/chrome-replay-support) guide to learn more.
|
|
54
63
|
|
|
@@ -168,17 +177,17 @@ Read the [Request Hooks guide](https://testcafe.io/documentation/402842/guides/a
|
|
|
168
177
|
### Bug Fixes
|
|
169
178
|
|
|
170
179
|
* The t.scrollIntoView method causes the "Element is not visible" error when the target's `overflow` property is `hidden` ([#6601](https://github.com/DevExpress/testcafe/issues/6601))
|
|
171
|
-
|
|
180
|
+
|
|
172
181
|
* TestCafe triggers click events for label elements even when the input is disabled ([#6949](https://github.com/DevExpress/testcafe/issues/6949))
|
|
173
|
-
|
|
182
|
+
|
|
174
183
|
* TestCafe hangs when you change the active window between two consecutive assertions ([#6037](https://github.com/DevExpress/testcafe/issues/6037))
|
|
175
|
-
|
|
184
|
+
|
|
176
185
|
* TestCafe cannot take screenshots when using the LambdaTest browser provider ([#6887](https://github.com/DevExpress/testcafe/issues/6887))
|
|
177
|
-
|
|
186
|
+
|
|
178
187
|
* Pages that target a missing `<iframe>`([testcafe-hammerhead/#2178](https://github.com/DevExpress/testcafe-hammerhead/issues/2178) element with the `Element.focus` method yield a ""TypeError: window.location.toString is not a function" error.
|
|
179
|
-
|
|
188
|
+
|
|
180
189
|
* TestCafe causes errors when it encounters XMLHTTPRequest calls that fetch resources from `blob:` URLs ([testcafe-hammerhead/#2634](https://github.com/DevExpress/testcafe-hammerhead/issues/2634))
|
|
181
|
-
|
|
190
|
+
|
|
182
191
|
* `HTMLElement.removeAttributeNode` method calls yield unjustified exceptions ([PR testcafe-hammerhead/#2742](https://github.com/DevExpress/testcafe-hammerhead/pull/2742) by @TrevorKarjanis)
|
|
183
192
|
|
|
184
193
|
## v1.18.4 (2022-02-21)
|
|
@@ -186,14 +195,14 @@ Read the [Request Hooks guide](https://testcafe.io/documentation/402842/guides/a
|
|
|
186
195
|
### Bug Fixes
|
|
187
196
|
|
|
188
197
|
* TestCafe does not display reporter output during initialization ([#6842](https://github.com/DevExpress/testcafe/issues/6842))
|
|
189
|
-
|
|
198
|
+
|
|
190
199
|
* TestCafe uses outdated automation scripts after cache expiration ([testcafe-hammerhead/#2738](https://github.com/DevExpress/testcafe-hammerhead/issues/2738), [PR](https://github.com/DevExpress/testcafe-hammerhead/issues/2739) by @rr13k)
|
|
191
200
|
|
|
192
201
|
* The `Node.append` method causes the `Illegal invocation` error ([PR testcafe-hammerhead/#2730](https://github.com/DevExpress/testcafe-hammerhead/pull/2730) by @danieltroger)
|
|
193
|
-
|
|
202
|
+
|
|
194
203
|
* Scripts in SVG documents cause the `Illegal invocation` error ([testcafe-hammerhead/#2735](https://github.com/DevExpress/testcafe-hammerhead/issues/2735
|
|
195
204
|
))
|
|
196
|
-
|
|
205
|
+
|
|
197
206
|
## v1.18.3 (2022-01-25)
|
|
198
207
|
|
|
199
208
|
### Bug Fixes
|
|
@@ -307,7 +316,7 @@ module.exports = {
|
|
|
307
316
|
|
|
308
317
|
#### Execution Timeouts
|
|
309
318
|
|
|
310
|
-
You can now specify custom timeouts for tests and test runs. If a test/test run is idle or unresponsive for the specified length of time, TestCafe terminates it. Specify these timeouts in the [configuration file](https://testcafe.io/documentation/402638/reference/configuration-file) or from the [command line](https://testcafe.io/documentation/402639/reference/command-line-interface).
|
|
319
|
+
You can now specify custom timeouts for tests and test runs. If a test/test run is idle or unresponsive for the specified length of time, TestCafe terminates it. Specify these timeouts in the [configuration file](https://testcafe.io/documentation/402638/reference/configuration-file) or from the [command line](https://testcafe.io/documentation/402639/reference/command-line-interface).
|
|
311
320
|
|
|
312
321
|
**Command line interface**
|
|
313
322
|
|
|
@@ -426,17 +435,17 @@ test('Type text', async t => {
|
|
|
426
435
|
|
|
427
436
|
### Bug Fixes
|
|
428
437
|
|
|
429
|
-
* The `Element.getAttribute` method returns an incorrect value ([#5984](https://github.com/DevExpress/testcafe/issues/5984)).
|
|
438
|
+
* The `Element.getAttribute` method returns an incorrect value ([#5984](https://github.com/DevExpress/testcafe/issues/5984)).
|
|
430
439
|
* TestCafe test fails when you forget to include the `await` keyword before the assertion statement ([#4613](https://github.com/DevExpress/testcafe/issues/4613)).
|
|
431
440
|
* TestCafe fails to focus an element inside a shadow DOM ([#4988](https://github.com/DevExpress/testcafe/issues/4988)).
|
|
432
441
|
* TestCafe fails to focus SVG elements ([#6262](https://github.com/DevExpress/testcafe/issues/6262)).
|
|
433
442
|
* TestCafe raises the blur event when you focus a non-focusable element ([#6236](https://github.com/DevExpress/testcafe/pull/6236)).
|
|
434
443
|
* TestCafe test hangs when you click a link within a cross-domain iframe ([#6331](https://github.com/DevExpress/testcafe/pull/6331)).
|
|
435
|
-
* TestCafe loads the Babel compiler libraries multiple times ([#6310](https://github.com/DevExpress/testcafe/pull/6310)).
|
|
444
|
+
* TestCafe loads the Babel compiler libraries multiple times ([#6310](https://github.com/DevExpress/testcafe/pull/6310)).
|
|
436
445
|
* TestCafe incorrectly parses the meta refresh tags ([PR testcafe-hammerhead/#2663](https://github.com/DevExpress/testcafe-hammerhead/pull/2663))
|
|
437
446
|
* TestCafe incorrectly processes iframe elements with the "srcdoc" attribute ([testcafe-hammerhead/#2647](https://github.com/DevExpress/testcafe-hammerhead/issues/2647)).
|
|
438
447
|
* TestCafe incorrectly specifies the Referer HTTP request header if you use the "navigateTo" action ([testcafe-hammerhead/#2607](https://github.com/DevExpress/testcafe-hammerhead/issues/2607)).
|
|
439
|
-
* An error related to the [bug in Node.js](https://github.com/nodejs/node/issues/37849) occurs ([testcafe-hammerhead/#2655](https://github.com/DevExpress/testcafe-hammerhead/pull/2655)).
|
|
448
|
+
* An error related to the [bug in Node.js](https://github.com/nodejs/node/issues/37849) occurs ([testcafe-hammerhead/#2655](https://github.com/DevExpress/testcafe-hammerhead/pull/2655)).
|
|
440
449
|
|
|
441
450
|
## v1.15.0 (2021-07-08)
|
|
442
451
|
|
package/package.json
CHANGED