Skip to content

Conversation

DavertMik
Copy link
Contributor

Refactored to be fully ESM

Should be the base for 4.x branch

dependabot bot and others added 30 commits February 3, 2025 14:39
Bumps [semver](https://github.com/npm/node-semver) from 7.6.3 to 7.7.0.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](npm/node-semver@v7.6.3...v7.7.0)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.12.0 to 22.13.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump to version 7

* Bump to 8.x

* Bump 9.x

* Status on 8.x - higher versions require ESM
* fix register retryTo globally

* fixed serializing step args

* improved export/types

* fixed tryTo/retryTo regressions

* fixed subtitles test

* new beta tag

* added BC compatibility for disableRetryFailedStep

* fixed playwright/puppeteer issues

* check improvements

* rename var

---------

Co-authored-by: DavertMik <[email protected]>
* prepare 3.7 release

* updated docs for AI and effects

* minor change to docs

* updated plugins docs

* minor update to changelog

---------

Co-authored-by: DavertMik <[email protected]>
Bumps [js-beautify](https://github.com/beautifier/js-beautify) from 1.15.1 to 1.15.2.
- [Release notes](https://github.com/beautifier/js-beautify/releases)
- [Changelog](https://github.com/beautifier/js-beautify/blob/main/CHANGELOG.md)
- [Commits](beautifier/js-beautify@v1.15.1...v1.15.2)

---
updated-dependencies:
- dependency-name: js-beautify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [semver](https://github.com/npm/node-semver) from 7.7.0 to 7.7.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](npm/node-semver@v7.7.0...v7.7.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.27.6 to 0.27.7.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](TypeStrong/typedoc@v0.27.6...v0.27.7)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [ts-morph](https://github.com/dsherret/ts-morph) from 25.0.0 to 25.0.1.
- [Release notes](https://github.com/dsherret/ts-morph/releases)
- [Commits](dsherret/ts-morph@25.0.0...25.0.1)

---
updated-dependencies:
- dependency-name: ts-morph
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bumps [monocart-coverage-reports](https://github.com/cenfun/monocart-coverage-reports) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/cenfun/monocart-coverage-reports/releases)
- [Changelog](https://github.com/cenfun/monocart-coverage-reports/blob/main/CHANGELOG.md)
- [Commits](cenfun/monocart-coverage-reports@2.12.0...2.12.1)

---
updated-dependencies:
- dependency-name: monocart-coverage-reports
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
DavertMik and others added 16 commits September 30, 2025 16:04
- Reverted to commit 720ec42 (fixed webkit tests)
- Updated Dockerfile to use Playwright v1.55.0 and ESM-compatible configuration
- Fixed docker setup for ESM exports with proper symlinks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Reverted to commit 720ec42 (fixed webkit tests)
- Updated Dockerfile to use Playwright v1.55.0 and ESM-compatible configuration
- Fixed docker setup for ESM exports with proper symlinks
- Resolved merge conflict in session_test.js

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Converted all .should chain assertions to expect() syntax across unit tests to fix ESM migration issues where error objects may lack proper message property causing test framework failures.

- test/unit/bdd_test.js: listeners.should.eql, printed/lines.should.include.members
- test/unit/html_test.js: result.should.include
- test/unit/mocha/ui_test.js: suite/test.tags.should.include/not.include
- test/unit/plugin/retryFailedStep_test.js: counter/initalIndex.should.equal
- test/unit/utils_test.js: getNormalizedKeyAttributeValue().should.equal

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
DavertMik and others added 4 commits October 4, 2025 18:02
WebKit security blocks 0.0.0.0 URLs - use 127.0.0.1 for webkit tests.
Docker test-rest was missing node_modules after volume mount.
BDD faker config still used CommonJS require/module.exports.

Changes:
- .github/workflows/playwright.yml: Set localhost URLs for webkit tests
- test/docker-compose.yml: Add node_modules anonymous volume
- test/bdd/codecept.faker.js: Convert to ESM (import/export)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Copy link

github-actions bot commented Oct 4, 2025

Testomat.io Report 🟢 UNIT-TESTS PASSED
Tests ✔️ 340 tests run
Summary 🟢 339 passed; 🟡 1 skipped
Duration 🕐 6 seconds
Job 🗂️ Run Unit tests / unit-tests
Operating System 🖥️ Linux X64

🐢 Slowest Tests

  • Workers: should run worker with multiple config (1.536 seconds)
  • subtitles: should capture separate steps for separate tests (0.603 seconds)
  • Workers: should run simple worker (0.506 seconds)
  • Workers: should run worker with custom config (0.505 seconds)
  • Workers: should create worker by function (0.498 seconds)

Copy link

github-actions bot commented Oct 4, 2025

Testomat.io Report 🟢 UNIT-TESTS PASSED
Tests ✔️ 340 tests run
Summary 🟢 339 passed; 🟡 1 skipped
Duration 🕐 6 seconds
Job 🗂️ Run Unit tests / unit-tests
Operating System 🖥️ Linux X64

🐢 Slowest Tests

  • Workers: should run worker with multiple config (1.543 seconds)
  • subtitles: should capture separate steps for separate tests (0.602 seconds)
  • Workers: should create worker by function (0.522 seconds)
  • Workers: should run simple worker (0.499 seconds)
  • Workers: should run worker with custom config (0.481 seconds)

Copy link

github-actions bot commented Oct 4, 2025

Testomat.io Report 🟢 RUNNER-TESTS PASSED
Tests ✔️ 195 tests run
Summary 🟢 195 passed; 🟡 0 skipped
Duration 🕐 3 minutes, 33 seconds
Job 🗂️ Run Unit tests / runner-tests
Operating System 🖥️ Linux X64

🐢 Slowest Tests

  • Failure in before: should trigger skipped events (6.768 seconds)
  • CodeceptJS Timeouts: should take --no-timeouts option (6.446 seconds)
  • Definitions: def should create definition file (5.53 seconds)
  • CodeceptJS Timeouts: should stop test when timeout exceeded (5.421 seconds)
  • CodeceptJS Timeouts: should prefer step timeout (4.633 seconds)

@DavertMik
Copy link
Contributor Author

DavertMik commented Oct 4, 2025

🎉 THIS FUCKIN HAPPENED!

image

@DavertMik DavertMik merged commit 514cc75 into 4.x Oct 4, 2025
9 of 10 checks passed
@kobenguyent kobenguyent deleted the feat/esm branch October 5, 2025 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants