chore(deps): update dependency testcafe to v1.11.0 #96
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.10.1->1.11.0Release Notes
DevExpress/testcafe
v1.11.0Compare Source
Enhancements
⚙️ Set Request Timeouts (PR #5692)
TestCafe now enables you to set request timeouts. If TestCafe receives no response within the specified period, it throws an error.
CLI
Configuration file
{ "pageRequestTimeout": 8000, "ajaxRequestTimeout": 40000 }JavaScript API
These options are available in the runner.run Method.
⚙️ Set Browser Initialization Timeout (PR #5720)
This release introduces an option to control browser initialization timeout. This timeout controls the time browsers have to connect to TestCafe before an error is thrown. You can control this timeout in one of the following ways:
{ "browserInitTimeout": 180000 }This setting sets an equal timeout for local and remote browsers.
Improved
Unable To Establish Browser ConnectionError Message (PR #5720)TestCafe raises this error when at least one local or remote browser was not able to connect. The error message now includes the number of browsers that have not established a connection.
TestCafe raises a warning if low system performance is causing the connectivity issue.
⚙️ An Option to Retry Requests for the Test Page (PR #5738)
If a tested webpage was not served after the first request, TestCafe can now retry the request.
You can enable this functionality with a command line, API, or configuration file option:
the --retry-test-pages command line argument
the runner.run option
the retryTestPages configuration file property
{ "retryTestPages": true }Bug Fixes
Selector.withTextcouldn't locate elements inside aniframe(#5886)Yarn 2(PR #5872 by @NiavlysB)typeTextaction does not always replace existing text (PR #5942 by @rueyaa332266)Web Workerfrom an object (testcafe-hammerhead/#2512)windowobject (testcafe-hammerhead/#2538)t.openWindowmethod requested a URL twice (testcafe-hammerhead/#2544)TypeError: Illegal invocation) thrown by TestCafe on pages that contain an XMLDocument with aniframe(testcafe-hammerhead/#2554)SyntaxError: Identifier has already been declared) thrown by TestCafe on pages with scripts that create nested JavaScript objects (testcafe-hammerhead/#2506)Erroris thrown in a test script (PR testcafe-hammerhead/#2536)window.location.constructorare now shadowed correctly by TestCafe proxy (testcafe-hammerhead/#2423)withstatements (testcafe-hammerhead/#2434)for..ofloops (testcafe-hammerhead/#2573)preventDefaultis present in element's event handler (testcafe-hammerhead/#2582)Vulnerability Fix (PR #5843, PR testcafe-hammerhead#2531)
We have fixed a vulnerability found in the debug module we use for debugging.
The vulnerability was a ReDos Vulnerability Regression that affected all TestCafe users. TestCafe now uses
debug@4.3.1, where the issue is fixed.Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.