From 5a81d70f7bc3bf2a698fdf0695ad006ea94a578f Mon Sep 17 00:00:00 2001 From: Michael Price <1845029+michael-pr@users.noreply.github.com> Date: Wed, 1 Jul 2026 17:06:41 -0400 Subject: [PATCH] chore(runner): add patch changeset for #playwright alias fix --- .changeset/resolve-playwright-subpath-import.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/resolve-playwright-subpath-import.md diff --git a/.changeset/resolve-playwright-subpath-import.md b/.changeset/resolve-playwright-subpath-import.md new file mode 100644 index 000000000..02bb79553 --- /dev/null +++ b/.changeset/resolve-playwright-subpath-import.md @@ -0,0 +1,5 @@ +--- +"@qawolf/cli": patch +--- + +Resolve the `#playwright` subpath import when running flows in the isolated managed runtime. QA Wolf flow bundles import Playwright through a Node.js `imports` alias (`#playwright`), but the pulled bundle's `package.json` omits the `imports` field, so the staged `exec/package.json` could not resolve it and flows failed with `ERR_PACKAGE_IMPORT_NOT_DEFINED`. The CLI now merges the `#playwright` alias into the staged `exec/package.json`, pointing it at the pinned Playwright resolved through the inner-hop `node_modules` symlink — fixing both the Node import path and the compiled-binary bundle path.