Skip to content

Added Playwright E2E setup#101

Merged
Nils-Kolvenbach merged 15 commits into
mainfrom
e2e-tests-continued
Jul 8, 2026
Merged

Added Playwright E2E setup#101
Nils-Kolvenbach merged 15 commits into
mainfrom
e2e-tests-continued

Conversation

@Nils-Kolvenbach

Copy link
Copy Markdown
Member

No description provided.

@changeset-bot

changeset-bot Bot commented Jul 7, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: de46666

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@elek-io/client Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

… Electron 43, which Playwright 1.61 has never been tested against upstream. Documented the version constraint and how to check compatibility before the next Electron major upgrade.
…roduces there too. Added a temporary Windows-only CI step that launches the exe directly with the inspector flag and captures its output, and temporarily added windows-2022 to the matrix to bisect the runner image.
… replicates Playwright's exact flags, env and main argument to verify both inspector announcements, and the Windows test step runs with Playwright debug logging to trace the launch handshake. Removed windows-2022 from the matrix since both images fail identically.
…in E2E tests, since packaged builds load their bundled app on their own and the argument is one suspect for the Windows boot stall. Reworked the temporary Windows diagnostics into single-variable probes to bisect which launch condition prevents Electron from starting Chromium.
…directing the OS home directory, which should fix the Windows launch stall
Since pnpm 8.7 the content-addressable store keeps postinstall (side-effect)
files as plain copies instead of symlinks (pnpm/pnpm#7691). dugite lays down
git, whose git-core is ~145 symlinks to one binary; restoring that from the
warm CI pnpm store flattened them into 145 full copies and roughly doubled the
packaged macOS app (.dmg/.zip can't dedup them). Setting sideEffectsCache:false
makes dugite re-extract git each install so the symlinks survive, while the
pnpm store cache still speeds up everything else. The temporary git-core probe
in CI stays until the next run confirms the fix.
The probe confirmed the macOS artifact doubling was pnpm flattening dugite's
git-core symlinks from a warm store cache, now fixed by sideEffectsCache: false.
@Nils-Kolvenbach Nils-Kolvenbach changed the title Added Playwright E2E testing to verify in CI Added Playwright E2E setup Jul 8, 2026
@Nils-Kolvenbach Nils-Kolvenbach merged commit d2cb067 into main Jul 8, 2026
4 checks passed
@Nils-Kolvenbach Nils-Kolvenbach deleted the e2e-tests-continued branch July 8, 2026 22:38
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.

1 participant