chore(deps): update dependency codeceptjs to v3.7.1 #1144
+1,871
−1,893
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.6.7
->3.7.1
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
Codeception/codeceptjs (codeceptjs)
v3.7.1
Compare Source
reading charAt
error inasyncWrapper.js
v3.7.0
Compare 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
el
API 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
tryTo
andretryTo
. Now, it is recommended to import them directly:Previously
tryTo
andretryTo
were 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,within
will be moved toeffects
in 4.0.✅
check
command 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 check
on 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.10
Compare 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.9
Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🐛 Hot Fixes
fix: could not run tests due to missing
invisi-data
lib - by @kobenguyentv3.6.8
Compare Source
❤️ Thanks all to those who contributed to make this release! ❤️
🛩️ Features
🐛 Bug Fixes
Locator.build
complains the empty locator (#4543) - by @kobenguyentI.seeEmailAttachment
treats parameter as regular expression (#4629) - by @ngraf📖 Documentation
Configuration
📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, 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.