-
Notifications
You must be signed in to change notification settings - Fork 120
chore(deps): update dependency testcafe to v2.6.2 #281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
2d75bfa to
9f34b99
Compare
9f34b99 to
8f9fdd2
Compare
8f9fdd2 to
dc7a7a1
Compare
dc7a7a1 to
65a4017
Compare
728f6b4 to
f2a7bf8
Compare
|
f2a7bf8 to
1c57e70
Compare
1c57e70 to
d07e2b7
Compare
d07e2b7 to
a3cd454
Compare
a3cd454 to
a749160
Compare
a749160 to
a4adfe1
Compare
a4adfe1 to
548195c
Compare
This PR contains the following updates:
2.2.0→2.6.2Release Notes
DevExpress/testcafe (testcafe)
v2.6.2Compare Source
TestCafe v2.6.2 introduces a number of bug fixes.
Bug fixes
pressKey('space')action doesn't affect checkbox status in Firefox (#6969).v2.6.1Compare Source
TestCafe v2.6.2 introduces a number of bug fixes.
Bug fixes
pressKey('space')action doesn't affect checkbox status in Firefox (#6969).v2.6.0Compare Source
TestCafe v2.6.0 introduces two enhancements: a new hook that allows users to modify reporter output, and support for JavaScript configuration files with the
.cjsextension.New reporter hook
The onBeforeWrite hook allows you to modify the output of a reporter.
If you want your test reports to include custom content, you can create a custom reporter from scratch. However, this approach takes time and effort. Use the
onBeforeWritehook if you want to make minor changes to the output of an existing reporter.Define an
onBeforeWritehook in a JavaScript configuration file. The following hook adds the duration in milliseconds to every test entry in the report:CJS support
If you run TestCafe v2.6.0 and higher, you can now use a configuration file with the
.cjsfile extension. TestCafe detects the.testcaferc.cjsfile on startup, alongside its.jsand.jsoncounterparts.TestCafe configuration files only support CommonJS syntax. Meanwhile, modern JavaScript tools often default to ESM syntax. If a JavaScript project is of type
module, Node.js expects the project's.jsfiles to contain ESM syntax.Use the
.cjsconfiguration file extension to let Node.js know that the file contains CommonJS syntax.Many thanks to the TestCafe contributor Damien Guérin (@gigaga) for the implementation of this capability.
Bug fixes
t.skipJsErrorsmethod without arguments, TestCafe passes afalsevalue to the method. This behavior is inconsistent with similar methods of a greater scope ---test.skipJsErrorsandfixture.skipJsErrors(#7648).Error(#7627).t.pressKeyaction in Mozilla Firefox. Attempts to press the "backspace" key and the "tab" key, among others, may fail. (#7623)t.requestmethod. (#7609)v2.5.0Compare Source
TestCafe v2.5.0 introduces three major enhancements:
t.reportmethod passes custom data to the test reporter.--native-automationflag enables TestCafe to automate all Chromium-based browsers with the native CDP protocol.--esmflag allows users to import ESM modules in test files.t.report
Include the t.report() method in your test to pass custom data to the reporter.
Specify arguments of any type (string, array, Object, etc). Separate arguments with a comma:
The default
specreporter displays custom data after test completion, once for each browser that runs the test.CDP Automation: Now Stable
TestCafe v2.2.0 introduced an experimental proxyless mode that automated Google Chrome with the native CDP protocol.
For the v2.5.0 release, the TestCafe team addressed most issues that our users discovered when the capability was "experimental", and gave it a new name --- Native Automation mode.
Unlike its predecessor, the Native Automation mode supports all Chromium-based browsers, including Microsoft Edge. Enable the
nativeAutomationoption in the command line interface, the configuration file, or the runner.run() function to try this capability.ESM Module Support: Now Stable
TestCafe v2.5.0 drops the
experimentalprefix from the--esmCLI flag. Enable the--esmflag to import modules that do not support CommonJS.v2.4.0Compare Source
TestCafe v2.6.1 retires Experimental Debug mode, and introduces a number of important bug fixes.
Removed: Experimental debug mode
TestCafe v1.18.0 introduced Experimental Debug mode --- a way to debug Selectors and Client Functions in the text editor. TestCafe v2.4.0 shipped with the Visual Selector Debugger, which allows users to troubleshoot Selector queries directly in the browser.
The two capabilities serve the same purpose, but the Visual Selector Debugger is more user-friendly. As such, beginning with TestCafe v2.6.1, the framework no longer includes Experimental Debug mode. Thank you to all the TestCafe users who tried out the capability.
Bug fixes
v2.3.1Compare Source
TestCafe v2.3.1 introduces a number of bug fixes.
Bug Fixes
test.metamethod precedes test code (#7482).v2.3.0Compare Source
TestCafe v2.3.1 introduces a number of bug fixes.
Bug Fixes
test.metamethod precedes test code (#7482).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 was generated by Mend Renovate. View the repository job log.