chore(deps): update dependency testcafe to v3 #1209
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 PR contains the following updates:
2.6.2
->3.1.0
Release Notes
DevExpress/testcafe (testcafe)
v3.1.0
Compare Source
TestCafe v3.1.0 Released
TestCafe v3.1.0 introduces two enhancements:
t.setNativeDialogHandler
method.Respond to geolocation requests
Use the
t.setNativeDialogHandler
method to respond togeolocation
requests.Error
type object to Block geolocation requests.success
callback of the getCurrentPosition method.Reference the framework's version in tests and test reports
Earlier versions of TestCafe could output the framework's version number to the console:
TestCafe 3.1.0 and up allows you to access the framework's version number in test code:
To access the framework's version number in your custom reporter, reference the first argument (
version
) of theinit
method:Bug fixes
setFileUpload
method does not work (#7832).t.click
action fails if the event handler accounts for pointer input pressure (#7867).httpOnly
flag when you use thet.setCookies
method (#7793).v3.0.1
Compare Source
Bug fixes
v3.0.0
Compare Source
This major update includes two breaking changes:
Other changes include:
print
dialog with the native dialog handler.Native automation
TestCafe v2.5.0 introduced an experimental mode that allows users to automate Chromium-based browsers, such as Google Chrome and Microsoft Edge, with the native CDP protocol. TestCafe v3.0.0 and up enables this capability out of the box.
Native automation increases test quality, stability, and speed.
Access Test and Fixture data in hooks
You can now access the following data in fixture hooks (
fixture.before
,fixture.after
) :Test hooks (
fixture.beforeEach
,fixture.afterEach
,test.before
,test.after
) can access fixture data and the following test data:Read the Hooks guide for more information.
Dismiss the print dialog
You can now use the t.setNativeDialogHandler method to dismiss the print dialog.
Removed: Internet Explorer support
TestCafe v3.0.0 removes support for Internet Explorer 11, six months after the browser's official retirement. The browser came out more than 9 years ago, and has a worldwide market of less than 0.5%. It is survived by Edge, a popular Chromium-based browser that ships with modern versions of Windows.
Bug fixes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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 Mend Renovate. View repository job log here.