Update dependency testcafe to v0.20.0 #127
Merged
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 Pull Request updates dependency testcafe from
v0.19.2
tov0.20.0
Release Notes
v0.20.0
Compare Source
Request Hooks: Intercepting HTTP requests (#1341)
TestCafe now allows you to record HTTP request data or mock responses. You can also create a custom HTTP request hook to emulate authentications like Kerberos or Client Certificate Authentication.
See Intercepting HTTP Requests for more information.
Enhancements
⚙️ Specifying resources accessed by bypassing a proxy server (#1791)
TestCafe now allows you to bypass the proxy server when accessing specific resources.
To specify resources that require direct access, use the --proxy-bypass flag in the command line or the useProxy API method's parameters.
⚙️ Specifying testing metadata (#2242)
TestCafe allows you to specify additional information for tests in the form of key-value metadata and use it in reports.
You can define metadata for a fixture or a test using the meta method:
To include testing metadata to reports, use the custom reporter methods.
⚙️ Passing a regular promise to
t.expect
is deprecated now (#2207)TestCafe now throws an error if you pass a regular promise to the assertion's
expect
method.If you need to assert a regular promise, set the allowUnawaitedPromise option to
true
.Bug Fixes
body
element has thepointer-events: none;
css style rule (#2251)Integrity
attribute is removed fromscript
andlink
tags (testcafe-hammerhead/#235)event.preventDefault()
method call changes theevent.defaultPrevented
property value (testcafe-hammerhead/#1588)meta
element'scontent
attribute (testcafe-hammerhead/#1586)null
(testcafe-hammerhead/#1583)Change
event fires correctly if thetarget.value
changes (#2319)MouseEvent.screenX
andMouseEvent.screenY
are added to the emulated events (#2325)localhost
are processed correctly (testcafe-hammerhead/#1491)//
url for an image works correctly (#2312)shadowUI
internal elements are no longer processed (#2281)typeInput
event is raised correctly (#1956)This PR has been generated by Renovate Bot.