This repository was archived by the owner on Nov 18, 2025. It is now read-only.
Update dependency codeceptjs to v3.7.5 [SECURITY] #204
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:
3.5.15->3.7.5Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
GitHub Vulnerability Alerts
CVE-2025-57285
CodeceptJS versions 3.5.0 through 3.7.5-beta.18 contain a command injection vulnerability in the emptyFolder function (lib/utils.js). The execSync command directly concatenates the user-controlled directoryPath parameter without sanitization or escaping, allowing attackers to execute arbitrary commands.
Release Notes
Codeception/codeceptjs (codeceptjs)
v3.7.5Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
v3.7.4Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🛩️ Features
Test Suite Shuffling: Randomize test execution order to discover test dependencies and improve test isolation (#5051) - by @NivYarmus
v3.7.3Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🛩️ Features
🐛 Bug Fixes
v3.7.2Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🛩️ Features
🐛 Bug Fixes
📖 Documentation
v3.7.1Compare Source
reading charAterror inasyncWrapper.jsv3.7.0Compare Source
This release introduces major new features and internal refactoring. It is an important step toward the 4.0 release planned soon, which will remove all deprecations introduced in 3.7.
🛩️ Features
🔥 Native Element Functions
A new Els API for direct element interactions has been introduced. This API provides low-level element manipulation functions for more granular control over element interactions and assertions:
element()- perform custom operations on first matching elementeachElement()- iterate and perform operations on each matching elementexpectElement()- assert condition on first matching elementexpectAnyElement()- assert condition matches at least one elementexpectAllElements()- assert condition matches all elementsExample using all element functions:
Els functions expose the native API of Playwright, WebDriver, and Puppeteer helpers. The actual
elAPI will differ depending on which helper is used, which affects test code interoperability.🔮 Effects introduced
Effects is a new concept that encompasses all functions that can modify scenario flow. These functions are now part of a single module. Previously, they were used via plugins like
tryToandretryTo. Now, it is recommended to import them directly:Previously
tryToandretryTowere available globally via plugins. This behavior is deprecated as of 3.7 and will be removed in 4.0. Import these functions via effects instead. Similarly,withinwill be moved toeffectsin 4.0.✅
checkcommand addedThis command can be executed locally or in CI environments to verify that tests can be executed correctly.
It checks:
And will attempt to open and close a browser if a corresponding helper is enabled. If something goes wrong, the command will fail with a message. Run
npx codeceptjs checkon CI before actual tests to ensure everything is set up correctly and all services and browsers are accessible.For GitHub Actions, add this command:
steps:v3.6.10Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🐛 Bug Fixes
fix(cli): missing failure counts when there is failedHooks (#4633) - by @kobenguyent
v3.6.9Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🐛 Hot Fixes
fix: could not run tests due to missing
invisi-datalib - by @kobenguyentv3.6.8Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🛩️ Features
🐛 Bug Fixes
Locator.buildcomplains the empty locator (#4543) - by @kobenguyentI.seeEmailAttachmenttreats parameter as regular expression (#4629) - by @ngraf📖 Documentation
v3.6.7Compare Source
v3.6.6Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🛩️ Features
Zero-configuration when paired with other helpers like REST, Playwright:
run command

run workers command

🐛 Bug Fixes
I.executeScriptcommand is used withrun-workers(#4483) - by @code4muktesh📖 Documentation
v3.6.5Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🛩️ Features
🐛 Bug Fixes
📖 Documentation
v3.6.4Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🛩️ Features
askForPageObjectmethod to generate PageObjects on the fly🐛 Bug Fixes
📖 Documentation
v3.6.3Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🛩️ Features
🐛 Bug Fixes
📖 Documentation
v3.6.2Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🛩️ Features
Support the httpAgent conf to create the TSL connection via REST helper
Currently only screenshot of the active session is saved, this PR aims to save the screenshot of every session for easy debugging
Find an element with class attribute
You could now set the recording video resolution
🐛 Bug Fixes
📖 Documentation
v3.6.1Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🐛 Bug Fixes
fix(cli): missing failure counts when there is failedHooks (#4633) - by @kobenguyent
v3.6.0Compare Source
🛩️ Features
Breaking Change AI features refactored. Read updated AI guide:
openai--aioption added to explicitly enable AI featuresOpenAIhelper renamed toAIfeat(puppeteer): network traffic manipulation. See #4263 by @KobeNguyenT
startRecordingTrafficgrabRecordedNetworkTrafficsflushNetworkTrafficsstopRecordingTrafficseeTrafficdontSeeTrafficfeat(Puppeteer): recording WS messages. See #4264 by @KobeNguyenT
Recording WS messages:
flushing WS messages:
Examples:
_react,_vue,data-testidattribute. See #4255 by @KobeNguyenTNetwork requests & responses can be mocked and modified. Use
mockRoutewhich strictly follows Puppeteer's setRequestInterception API.To master request intercepting use HTTPRequest object passed into mock request handler.
🐛 Bug Fixes
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.