build: fix vulnerabilities and removed unsued packages (#8181) @PavelMor25
update: resize using CDP setWindowBounds (#8169) @Bayheck
v3.6.0
TestCafe v3.6.0 Released
The TestCafe v3.6.0 update includes two minor changes and a number of bug fixes.
New method: t.getCurrentCDPSession
The t.getCurrentCDPSession method allows native automation users to examine and control the CDP connection between TestCafe and the browser.
Use the method to obtain the Chrome DevTools Protocol object for the current session. The CDP object exposes properties and methods that pertain to the CDP connection between TestCafe and the active browser window.
fixture `Get current CDP session`
.page('https://devexpress.github.io/testcafe/example');
test(Get current CDP session, async t => {
const mainWindowId = await t.testRun.activeWindowId;
[Native Automation] TestCafe incorrectly uploads files in Chrome v125 and up. (#8198)
TestCafe dependencies include the vulnerable endpoint-utils package (#8207). The updated version includes the address package instead.
v3.6.1 (2024-06-10)
Bug Fixes
TestCafe incorrectly calculates the dimensions of multi-line elements. (#8179)
TestCafe incorrectly executes the resizeWindow method if you maximize the target window first. (#8157)
TestCafe v3.6.0 Released
The TestCafe v3.6.0 update includes two minor changes and a number of bug fixes.
New method: t.getCurrentCDPSession
The t.getCurrentCDPSession method allows native automation users to examine and control the CDP connection between TestCafe and the browser.
Use the method to obtain the Chrome DevTools Protocol object for the current session. The CDP object exposes properties and methods that pertain to the CDP connection between TestCafe and the active browser window.
fixture `Get current CDP session`
.page('https://devexpress.github.io/testcafe/example');
test(Get current CDP session, async t => {
const mainWindowId = await t.testRun.activeWindowId;
let clientCDP = await t.getCurrentCDPSession();
await t.expect(clientCDP.webSocketUrl).contains(mainWindowId);
}
Headless browser connection
TestCafe v3.6.0 takes advantage of the recent Chromium headless mode upgrade. The new headless mode offers better reliability and higher emulation accuracy.
The headless mode upgrade may cause unexpected changes to your tests' behavior. Take note of the following changes:
Headless Chromium now automatically upgrades insecure HTTP requests to HTTPS.
Headless Chromium does not always honor the --window-size flag. This behavior is a known Chromium bug.
Bug Fixes
[Native automation] TestCafe does not execute the maximizeWindow() method in beforeEach hooks (#8117)
If TestCafe launch options include --esm, the framework crashes on launch in environments with Node.JS v20 and up (#8132)
Ultimate release that fixes both CVE-2024-4067 and CVE-2024-4068. We consider the issues low-priority, so even if you see automated scanners saying otherwise, don't be scared.
4.0.4
fix: Update picomatch to fix regression #179 (8becb55)
backported CVE-2024-4067 fix (from v4.0.6) over to 4.x branch
[4.0.7] - 2024-05-22
this is basically v4.0.5, with some README updates
it is vulnerable to CVE-2024-4067
Updated braces to v3.0.3 to avoid CVE-2024-4068
does NOT break API compatibility
[4.0.6] - 2024-05-21
Added hasBraces to check if a pattern contains braces.
Fixes CVE-2024-4067
BREAKS API COMPATIBILITY
Should be labeled as a major release, but it's not.
[4.0.1 - 4.0.5]
[4.0.0] - 2019-03-20
Added
Adds support for options.onMatch. See the readme for details
Adds support for options.onIgnore. See the readme for details
Adds support for options.onResult. See the readme for details
Breaking changes
Require Node.js >= 8.6
Removed support for passing an array of brace patterns to micromatch.braces().
To strictly enforce closing brackets (for {, [, and (), you must now use strictBrackets=true instead of strictErrors.
cache - caching and all related options and methods have been removed
options.unixify was renamed to options.windows
options.nodupes Was removed. Duplicates are always removed by default. You can override this with custom behavior by using the onMatch, onResult and onIgnore functions.
options.snapdragon was removed, as snapdragon is no longer used.
options.sourcemap was removed, as snapdragon is no longer used, which provided sourcemap support.
[3.0.0] - 2017-04-11
Complete overhaul, with 36,000+ new unit tests validated against actual output generated by Bash and minimatch. More specifically, 35,000+ of the tests:
micromatch results are directly compared to bash results
in rare cases, when micromatch and bash disagree, micromatch's results are compared to minimatch's results
micromatch is much more accurate than minimatch, so there were cases where I had to make assumptions. I'll try to document these.
This refactor introduces a parser and compiler that are supersets of more granular parsers and compilers from other sub-modules. Each of these sub-modules has a singular responsibility and focuses on a certain type of matching that aligns with a specific part of the Bash "expansion" API.
These sub-modules work like plugins to seamlessly create the micromatch parser/compiler, so that strings are parsed in one pass, an AST is created, then a new string is generated by the compiler.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/bcgov/EDUC-CCOF/network/alerts).
Bumps the npm_and_yarn group with 1 update in the /test directory: testcafe.
Updates
testcafe
from 1.6.0 to 3.6.2Release notes
Sourced from testcafe's releases.
... (truncated)
Changelog
Sourced from testcafe's changelog.
... (truncated)
Commits
89895be
3.6.2 latest release (#8223)f80bef3
fix: license checker fixed for publishing (#8222)31a6fbe
release: version updated to 3.6.2-rc.1 (#8220)ec04033
Upload file fixed (#8211)ff478f3
remove endpoint-utils package (#8217)4d0bc30
build(deps): bump ws from 7.5.9 to 7.5.10 (#8218)1842e2c
license check workflow added (#8206)f428928
version 3.6.1 latest (#8209)5e04aa6
fix babel-plugin-module-resolver version to 5.0.0 (#8203)430918d
Click on multiline elements (#8183)Maintainer changes
This version was pushed to npm by kirovboris, a new releaser for testcafe since your current version.
Updates
micromatch
from 3.1.10 to 4.0.8Release notes
Sourced from micromatch's releases.
Changelog
Sourced from micromatch's changelog.
... (truncated)
Commits
8bd704e
4.0.8a0e6841
run verb to generate README documentation4ec2884
Merge branch 'v4' into hauserkristof-feature/v4.0.803aa805
Merge pull request #266 from hauserkristof/feature/v4.0.8814f5f7
lint67fcce6
fix: CHANGELOG about braces & CVE-2024-4068, v4.0.5113f2e3
fix: CVE numbers in CHANGELOGd9dbd9a
feat: updated CHANGELOG2ab1315
fix: use actions/setup-node@v41406ea3
feat: rework test to work on macos with node 10,12 and 14Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show