Repository navigation
Releases: codeceptjs/CodeceptJS
Releases · codeceptjs/CodeceptJS
Release list
4.2.1-beta.3
What's Changed
- feat(helpers): acting CDP helpers, HelperCapabilities type, ARIA snapshots for CDP and Puppeteer by @DavertMik in #5749
Full Changelog: 4.2.1-beta.2...4.2.1-beta.3
4.2.1-beta.2
What's Changed
- fix(CDPBrowser): report connection errors on failed steps, skip screenshots without rendering by @DavertMik in #5747
- feat(CDPBrowser): detect render/no-render engines, add CDP timing metrics by @DavertMik in #5748
Full Changelog: 4.2.1-beta.1...4.2.1-beta.2
4.2.1-beta.1
What's Changed
- docs: include inherited CDPBrowser methods in Obscura/Kitesurf docs, hide abstract CDPBrowser by @DavertMik in #5720
- fix example.com assertion after IANA page redesign by @DenysKuchma in #5722
- fix(workers): skip loadTests in run() when suite is already populated by @danikkrapivnitskiy in #5721
- feat(step): add name as alias of step title by @DavertMik in #5729
- feat: Decision helper for plain-language assertions by @DavertMik in #5734
- fix: join base url and relative path with a single slash by @DavertMik in #5738
- feat: init:agent command to set up MCP and skills for coding agents by @DavertMik in #5735
- fix(pause): ignore step failures inside tryTo and retryTo by @DavertMik in #5741
- fix(playwright): don't block on debug element preview when element is removed by @mirao in #5740
- Docs/inherited helper docs by @DavertMik in #5726
- fix(recorder): use retry options of the rule matching the error by @mirao in #5724
- feat: webServer config option to start the app under test by @DavertMik in #5732
- fix(workers): distribute only tests matching grep by @DavertMik in #5727
- feat(helpers): add experimental Lightpanda helper by @DavertMik in #5730
- fix(workers): deserialize step events before emitting to master process by @gololdf1sh in #5565
- feat: --last-failed option for run and run-workers by @DavertMik in #5733
- feat(Decision): use AI SDK decisions, configure decision models in ai.decisionModel by @DavertMik in #5742
- fix(playwright): don't block in see() when a matched element is removed by @mirao in #5746
- chore(deps): bump actions/cache from 4 to 6 by @dependabot[bot] in #5716
- feat(plugins): sitemap plugin collecting visited pages by @DavertMik in #5744
- feat(ts): improve hook types (Background/Before/After/BeforeSuite/Aft… by @netoctone in #5743
New Contributors
- @netoctone made their first contribution in #5743
Full Changelog: 4.2.0...4.2.1-beta.1
4.2.0
What's Changed
- fix: workerInitializationDelay is not hardcoded by @kobenguyent in #5676
- mask secret data rows in data-driven titles by @DenysKuchma in #5693
- fix: preserve test artifacts on retry by @gololdf1sh in #5690
- fix(junit): preserve suite identity for hook failures reported from workers by @kapil971390 in #5664
- fix(appium): skip data connectivity on devices without telephony (#5677) by @mirao in #5678
- fix(parser): inject params into one-line non-async arrow scenarios by @mirao in #5680
- fix(typescript): no loader required under Bun by @mirao in #5699
- fix(helpers): restore substring matching in waitInUrl by @nlespiaucq in #5682
- feat: CDPBrowser helper family — Obscura and Kitesurf mini-browser support by @DavertMik in #5681
- fix(junitReporter): stamp suites with their real start time by @luantaraschi in #5683
- fix: keep element text in simplifyHtmlElement by @DavertMik in #5691
- fix(typescript): map included .ts files in step output by @luantaraschi in #5685
- fix: report Bun runtime in environment info by @mirao in #5700
- feat: selectOption works with role=radiogroup widgets by @DavertMik in #5702
- feat: checkOption finds checkables by ARIA role by @DavertMik in #5704
- Serialize data-driven object titles as JSON by @DenysKuchma in #5709
- refactor(locator): find ARIA checkables in Locator, not in each helper by @DavertMik in #5708
- fix(hooks): emit hook.failed when a helper suite hook throws by @luantaraschi in #5684
- feat(strict-mode): render nested matches as tree in fetchDetails() by @DavertMik in #5710
- feat(Playwright): visibleLocator config option by @DavertMik in #5707
- fix(CDPBrowser): support ARIA radiogroups in selectOption, fix waitInUrl message by @DavertMik in #5711
- fix(helpers): scroll element into view in moveCursorTo by @DavertMik in #5715
- fix: use bunx instead of npx to read Playwright versions under Bun by @mirao in #5714
- fix(Playwright): skip visibleLocator for scrollTo and grab* methods by @DavertMik in #5712
- fix(Playwright): switchTo resolves nested iframes relative to current frame by @DavertMik in #5717
- fix: retryFailedStep plugin works in debug/verbose mode by @mirao in #5128
- fix: prevent retry config accumulation by @smalia2001 in #5606
- docs: prepare Obscura and Node.js 22 for 4.2 by @DenysKuchma in #5719
- feat(helpers): add seeInClipboard, seeClipboardEquals and clearClipboard by @DavertMik in #5718
New Contributors
- @luantaraschi made their first contribution in #5683
- @smalia2001 made their first contribution in #5606
Full Changelog: 4.1.0...4.2.0
4.2.0-beta.4
What's Changed
- fix(Playwright): switchTo resolves nested iframes relative to current frame by @DavertMik in #5717
- fix: retryFailedStep plugin works in debug/verbose mode by @mirao in #5128
- fix: prevent retry config accumulation by @smalia2001 in #5606
- docs: prepare Obscura and Node.js 22 for 4.2 by @DenysKuchma in #5719
New Contributors
- @smalia2001 made their first contribution in #5606
Full Changelog: 4.2.0-beta.3...4.2.0-beta.4
4.2.0-beta.2
What's Changed
- Serialize data-driven object titles as JSON by @DenysKuchma in #5709
- refactor(locator): find ARIA checkables in Locator, not in each helper by @DavertMik in #5708
- fix(hooks): emit hook.failed when a helper suite hook throws by @luantaraschi in #5684
- feat(strict-mode): render nested matches as tree in fetchDetails() by @DavertMik in #5710
- feat(Playwright): visibleLocator config option by @DavertMik in #5707
Full Changelog: 4.2.0-beta.1...4.2.0-beta.2
4.2.0-beta.1
Added new Obscura helper for execution in Obscura browser
What's Changed
- fix: workerInitializationDelay is not hardcoded by @kobenguyent in #5676
- mask secret data rows in data-driven titles by @DenysKuchma in #5693
- fix: preserve test artifacts on retry by @gololdf1sh in #5690
- fix(junit): preserve suite identity for hook failures reported from workers by @kapil971390 in #5664
- fix(appium): skip data connectivity on devices without telephony (#5677) by @mirao in #5678
- fix(parser): inject params into one-line non-async arrow scenarios by @mirao in #5680
- fix(typescript): no loader required under Bun by @mirao in #5699
- fix(helpers): restore substring matching in waitInUrl by @nlespiaucq in #5682
- feat: CDPBrowser helper family — Obscura and Kitesurf mini-browser support by @DavertMik in #5681
- fix(junitReporter): stamp suites with their real start time by @luantaraschi in #5683
- fix: keep element text in simplifyHtmlElement by @DavertMik in #5691
- fix(typescript): map included .ts files in step output by @luantaraschi in #5685
- fix: report Bun runtime in environment info by @mirao in #5700
- feat: selectOption works with role=radiogroup widgets by @DavertMik in #5702
- feat: checkOption finds checkables by ARIA role by @DavertMik in #5704
New Contributors
- @luantaraschi made their first contribution in #5683
Full Changelog: 4.1.0...4.2.0-beta.1
4.1.0
What's Changed
- Fixes run-rerun by @DenysKuchma in #5667
- fix(core): load Mocha test files as ES Modules (fixes internal-API imports from tests, #5636) by @DavertMik in #5640
- chore(deps): bump @xmldom/xmldom from 0.9.8 to 0.9.10 by @ElVisPL in #5651
- fix(appium): replace deprecated setNetworkConnection/getNetworkConnection with mobile: setConnectivity/getConnectivity by @mirao in #5662
- fix(typings): add ARIA locators to ILocator by @patryk-przybysz in #5665
- chore(deps-dev): bump eslint-plugin-mocha from 11.2.0 to 11.3.0 by @dependabot[bot] in #5629
- chore(deps-dev): bump graphql from 16.12.0 to 16.14.2 by @dependabot[bot] in #5627
- chore(deps): bump monocart-coverage-reports from 2.12.9 to 2.12.12 by @dependabot[bot] in #5625
New Contributors
- @ElVisPL made their first contribution in #5651
- @patryk-przybysz made their first contribution in #5665
Full Changelog: 4.0.9...4.1.0
4.0.9
What's Changed
- fix(data): detect DataTable structurally so Data() works under tsx/cjs (#5641) by @DavertMik in #5649
- fix: future proof for ts6 by @kobenguyent in #5616
- ci(docker): build multi-arch images (amd64 + arm64) by @DavertMik in #5648
- fix(pause): stop pause() at the right step in 4.x (#5652) by @mirao in #5653
- fix(graphql): drop ESM-broken _checkRequirements() so
checkworks (#5654) by @DavertMik in #5658 - Add a custom Firefox binary example to the Playwright helper docs by @feder-cr in #5655
- fix(junit): report suite hook failures via hook.failed event by @DavertMik in #5657
New Contributors
Full Changelog: 4.0.8...4.0.9
4.0.8
What's Changed
- test(core): characterize promise-core error and hang paths by @DavertMik in #5622
- fix(pause): remove leaked dispatcher listeners and guard session restore by @DavertMik in #5630
- fix(core): re-land asyncWrapper + promise-core error-path fixes onto 4.x (#5624, #5633) by @DavertMik in #5637
- fix: guard sort() with shuffle check so --shuffle is not silently ignored by @kapil971390 in #5639
- fix(typescript): unique temp file names to fix run-multiple race (#5642) by @mirao in #5643
New Contributors
- @kapil971390 made their first contribution in #5639
Full Changelog: 4.0.7...4.0.8