-
Notifications
You must be signed in to change notification settings - Fork 3
chore(deps): update monorepo:testcafe #127
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
b42295f to
2c9f6c4
Compare
Codecov Report
@@ Coverage Diff @@
## master #127 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 9 9
Lines 30 30
Branches 1 1
=========================================
Hits 30 30 Continue to review full report at Codecov.
|
2c9f6c4 to
c889823
Compare
c889823 to
891b38c
Compare
891b38c to
f19bb4b
Compare
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #127 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 9 9
Lines 30 30
Branches 1 1
=========================================
Hits 30 30 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
846ec07 to
0c789d5
Compare
0c789d5 to
fde4222
Compare
fde4222 to
ee5e622
Compare
ee5e622 to
03ea103
Compare
03ea103 to
82804f2
Compare
82804f2 to
d4f9f36
Compare
d4f9f36 to
f0d9363
Compare
f0d9363 to
babd6e1
Compare
babd6e1 to
7d355cf
Compare
7d355cf to
cd89473
Compare
a8f503a to
bd7235c
Compare
bd7235c to
83ed30a
Compare
83ed30a to
fcb9b71
Compare
fcb9b71 to
f78f109
Compare
f78f109 to
d4dfb05
Compare
This PR contains the following updates:
4.3.1→4.4.11.12.0→1.20.1Release Notes
testing-library/testcafe-testing-library (@testing-library/testcafe)
v4.4.1Compare Source
Bug Fixes
Reverts
v4.4.0Compare Source
Features
dependabot.yml(#274) (551f130)DevExpress/testcafe (testcafe)
v1.20.1Compare Source
Bug Fixes
EPIPEerrors that cause crashes (#7216).MaxListenersExceededWarningwarning (#7188).v1.20.0Compare Source
TestCafe v1.20.0 includes two major capabilities: an API testing toolkit and the ability to set a global test page URL. Additionally, TestCafe 1.20.0 introduces experimental support for Chrome User Flow Replays, as well as a number of under-the-hood improvements.
API Testing
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.
The new Request test action executes an HTTP request and returns the server's response.
Read the API Testing Guide for a full overview of the framework's API testing capabilities.
Global starting URL
You can now define a single starting URL for all the tests in your test suite.
Declare the
baseUrlin one of the following three ways:Once you define a
baseUrl, you can omit fixture and test URLs entirely, or define them relative to yourbaseUrl:Experimental: Chrome User Flow Replays
TestCafe v1.20.0 introduces experimental, limited support for Google Chrome user flow recordings.
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
Read the User Flow Recordings guide to learn more.
Coming in TestCafe 2.0: TypeScript 4
The next version of TestCafe will adopt TypeScript 4 and lose compatibility with TypeScript 3.X.
To indicate the breaking change, we will increment the framework's major version number - from 1 to 2.
TestCafe 2.0 will be released later this month.
Improvements
Better Google Chrome video capture
TestCafe v1.20.0 uses the Screen Capture API to record videos of Google Chrome test runs. This results in a significantly better test recording framerate and image quality.
Bug Fixes
When the
t.typeTextaction raises an error, TestCafe mistakenly awaits the target element for the second time (#6623)Concurrent test runs do not always generate concurrent test run reports (#7062)
TestCafe doesn't properly handle errors raised inside the
requestMockfunction (#6703)The default terminal viewport width is too low for non-tty terminals (Issue #5919, PR #6930 by @PayBas)
TestCafe cannot switch to an invisible iframe (#4558)
Update incorrect TypeScript definitions (PR #7069 by @karolnowinsky)
Some SVGs don't meet the visibility criteria (#6998)
v1.19.0Compare Source
TestCafe v1.19.0 introduces three major capabilities: a Cookie Management API, suite-wide test hooks, and suite-wide request hooks.
New Capabilities
Cookie Management
Previous versions of TestCafe lacked dedicated cookie management methods. Users had to write custom client functions to add and remove cookies. This technique was complicated and, at times, limiting. Some cookie manipulation actions --- such as HTTP-only cookie management --- were very hard to integrate into the test suite.
The latest version of the framework includes a proper set of cookie management tools that can handle a wide variety of tasks. Learn more about the new methods in our documentation: deleteCookies, getCookies, setCookies.
Global Test Hooks
Many TestCafe users employ test hooks --- functions that run before and after tests and fixtures. In TestCafe v1.19.0 and higher, you can attach hooks to test runs, as well as apply test hooks to your entire suite. This capability requires the use of a JavaScript configuration file.
Learn more about hooks from our newly updated hook guide.
Global Request Hooks
Request hooks are functions that intercept HTTP requests and mock HTTP responses. Earlier versions of TestCafe let you attach request hooks to one test or fixture at a time. You can now define global request hooks and attach them to multiple tests or fixtures in your suite.
Read the Request Hooks guide to learn more.
Bug Fixes
TestCafe ignores CLI browser arguments when they conflict with the configuration file (#6618)
The outdated
moment.jsdependency contains a critical vulnerability (PR #6996 by @vergilfromadyen)TestCafe proxy doesn't always serve cookies with the
secureattribute (testcafe-hammerhead/#2715)v1.18.6Compare Source
Bug Fixes
Faulty processing of client-side option chains leads to test execution errors (testcafe-hammerhead/#2714)
Poor Brotli compression performance (testcafe-hammerhead/#2743)
User Roles break when navigating to a new URL in a new window (PR testcafe-hammerhead/#2754)
The t.maximizeWindow method doesn't maximise browser windows on macOS (testcafe-browser-tools/#222)
v1.18.5Compare Source
Bug Fixes
The t.scrollIntoView method causes the "Element is not visible" error when the target's
overflowproperty ishidden(#6601)TestCafe triggers click events for label elements even when the input is disabled (#6949)
TestCafe hangs when you change the active window between two consecutive assertions (#6037)
TestCafe cannot take screenshots when using the LambdaTest browser provider (#6887)
Pages that target a missing
<iframe>(testcafe-hammerhead/#2178 element with theElement.focusmethod yield a ""TypeError: window.location.toString is not a function" error.TestCafe causes errors when it encounters XMLHTTPRequest calls that fetch resources from
blob:URLs (testcafe-hammerhead/#2634)HTMLElement.removeAttributeNodemethod calls yield unjustified exceptions (PR testcafe-hammerhead/#2742 by @TrevorKarjanis)v1.18.4Compare Source
Bug Fixes
TestCafe does not display reporter output during initialization (#6842)
TestCafe uses outdated automation scripts after cache expiration (testcafe-hammerhead/#2738, PR by @rr13k)
The
Node.appendmethod causes theIllegal invocationerror (PR testcafe-hammerhead/#2730 by @danieltroger)Scripts in SVG documents cause the
Illegal invocationerror (testcafe-hammerhead/#2735)v1.18.3Compare Source
Bug Fixes
nanoidpackage is vulnerable to CVE-2021-23566 (#6826)Selector.visibilityproperty does not depend on the parent elements' visibility (#3495)v1.18.2Compare Source
Bug Fixes
<select>elements (#5616)v1.18.1Compare Source
macOS Bug Fix
TestCafe fails to launch Safari after the v1.18.0 update.
v1.18.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
v1.17.1Compare Source
Bug Fixes
v1.17.0Compare Source
Enhancements
Global Test and Fixture Hooks
You can now specify global test and fixture hooks. TestCafe attaches these hooks to every test / fixture in the test suite.
Execution Timeouts
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 or from the command line.
Command line interface
Configuration file
{ "runExecutionTimeout": 180000, "testExecutionTimeout": 180000 }Bug Fixes
v1.16.1Compare Source
Bug Fixes
v1.16.0Compare Source
Enhancements
Support for JavaScript configuration files
You can now store TestCafe settings in a
jsfile. Configuration properties in JavaScript files can reference JavaScript methods, functions and variables, which makes it easy to create dynamic configuration files.Just
exportthe JSON name/value pairs in the file:Support for custom user variables in the configuration file
TestCafe v1.16.0 and later supports configuration files with variable declarations. Users can reference variables from a configuration file in the tests that utilize that configuration file. To enable access to configuration file variables, import the
userVariablesobject from thetestcafemodule at the beginning of the test script.This capability can come in handy if there's a single piece of data you want to use in multiple tests — for example, the website's URL. That way, if your website moves to a new domain name, you don't have to change your tests one by one.
If you previously used environment variables to achieve the same goal, you might prefer the new method — it significantly simplifies the setup process, and allows you to commit the data to a version control system.
Define your custom variables with the
userVariablesJSON object:{ "userVariables": { "url": "http://devexpress.github.io/testcafe/example", } }Reference this variable in your test:
Other enhancements
embedding-utilsAPI method that retrieves information about skipped tests (PR by @flora8984461).Runner.filterfunction supports asynchronous arguments (PR by @eignatyev).testandfixtureobjects directly from thetestcafemodule (PR #6338).Bug Fixes
v1.15.3Compare Source
Bug Fixes
v1.15.2Compare Source
Bug Fixes
tabaction if a page contains a cross-domain iframe (#6405).v1.15.1Compare Source
Bug Fixes
Element.getAttributemethod returns an incorrect value (#5984).awaitkeyword before the assertion statement (#4613).v1.15.0Compare Source
Enhancements
Dispatch DOM events (PR #6103)
The
t.dispatchEventmethod lets you interact with the page in ways that TestCafe does not support out of the box. To implement an unsupported user action, break it down into discrete DOM events, and use thet.dispatchEventmethod to fire them.The following example fires a
touchstartaction on an element with the 'button' id:Read the Custom Actions Guide for more information on DOM events and event constructors.
Quarantine mode customization (PR #6073 by @rob4629)
New settings are available in quarantine mode. Quarantine mode repeats failing tests to help users get conclusive test results in sub-optimal conditions. TestCafe v1.15 adds two variables -
successThresholdandattemptLimit- that allow you specify when TestCafe must stop.The
attemptLimitvariable determines the maximum possible number of test attempts.The
successThresholdvariable determines the number of successful attempts necessary for the test to pass.Password obfuscation (#6014)
TestCafe reporters no longer receive the contents of
passwordinput fields, unless you explicitly specify otherwise. This improves security for users that store their test results online.Support for non-HTML documents (#1471)
TestCafe now has the capability to proxy non-HTML documents such as XML and text files. Tests no longer hang upon redirection to a non-HTML address.
Bug Fixes
Navigator.prototyperequests (PR testcafe-hammerhead/#2643 by @michaelficarra).WorkerGlobalScope.importScripts()arguments (testcafe-hammerhead/#2521).downloadattributes cause TestCafe to hang (#6132).v1.14.2Compare Source
v1.14.1Compare Source
v1.14.0Compare Source
v1.13.0Compare Source
This release adds support for custom paths to the configuration file, support for Microsoft Edge on Linux systems, and multiple bugfixes.
Enhancements
⚙️ Specify Custom Path to the TestCafe Configuration File (PR #6035 by @Chris-Greaves)
TestCafe now allows you to specify a custom configuration file path.
To set this path, use one of the following options:
Add Support for Microsoft Edge on Linux (PR testcafe-browser-tools/#210 by @dcsaszar)
If you follow the Microsoft Edge Insider Channels for Linux and have Microsoft Edge installed on your Linux machine, you can now launch TestCafe tests in this browser.
⚙️ Deprecated the
t.setPageLoadTimeoutmethod (PR #5979)Starting with v1.13.0, the t.setPageLoadTimeout method is deprecated. To set the page load timeout, use the new test.timeouts method.
You can also use
test.timeoutsto set the pageRequestTimeout and ajaxRequestTimeout.Bug Fixes
hoverevent on aradioelement (#5916)currentScopecalculation inside aWindow.postMessagecall (testcafe-hammerhead/#2524)RequestLoggernow shows a correct protocol for WebSocket requests (testcafe-hammerhead/#2591)No tests to runerror occurs in Live mode (#4257)documentElement.transform.translatecall moved the TestCafe UI in the browser window (#5606)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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.