Commits on Jun 13, 2026
Commits on Jun 15, 2026
-
fix(core): load Mocha test files as ES Modules so internal-API import…
…s resolve to the live instance Test files were loaded with synchronous require(), which under tsx/cjs created a second CommonJS copy of lib/* modules. A test's `import { config } from "codeceptjs"` then resolved to a disconnected copy whose module-level singletons were never populated (#5636). Load test files through `await import()` instead — the same way the container already loads helpers — so the whole run shares one ES module graph and plain imports are honest. New lib/mocha/loadTests.js mirrors Mocha's loadFiles (lazyLoadFiles + per-file pre-require/require/post-require) to preserve teardown hooks, the gherkin .feature path, and the dup/missing-Feature validation. All synchronous mocha.loadFiles() sites converted: codecept.run(), rerun, workers (parent grouping + worker threads), dry-run, and check. TypeScript: tsx/cjs is a require hook and can no longer transpile test files loaded via import(). requireModules() auto-maps tsx/cjs -> tsx/esm with a deprecation notice; tsx/esm needs "type": "module" in package.json (init now writes it, and an ERR_REQUIRE_CYCLE_MODULE guard points users to it). BREAKING CHANGE: the programmatic Workers grouping API (createGroupsOfTests, createGroupsOfSuites, addTestFiles, splitTestsByGroups) is now async. TypeScript projects must set "type": "module" in package.json. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>DavertMik and claude committed
Jun 15, 2026
Commits on Jul 13, 2026
-
fix(appium): replace deprecated setNetworkConnection/getNetworkConnec…
…tion with mobile: setConnectivity/getConnectivity WebdriverIO 9.27.2+ emits deprecation warnings for the legacy Android network connection protocol commands. Appium's recommended replacement is the mobile: setConnectivity / mobile: getConnectivity execute commands. grabNetworkConnection() keeps its original return shape (value/inAirplaneMode/hasWifi/hasData) by re-encoding the new {wifi, data, airplaneMode} response into the legacy bitmask, so existing test code isn't broken. Fixes #5619mirao committed
Jul 13, 2026