Add automated testing infrastructure (Vitest + Playwright E2E) #110

Merged
litruv merged 12 commits from issue-109-automated-testing into main 2026-11-03 13:51:15 +11:00
Showing only changes of commit d12ce65ac5 - Show all commits
+6 -3
View File
@@ -60,10 +60,13 @@ jobs:
working-directory: ./cinny
run: npm ci --prefer-offline
# Electron needs system libraries the runner image does not ship. Chromium only:
# Electron uses the Chromium codebase, so firefox and webkit deps are not needed.
# Electron needs system libraries the runner image does not ship. Do not narrow this to
# chromium: Playwright's chromium dep set covers its own bundled browser, not Electron,
# and drops libgtk-3-0t64, libegl1, libegl-mesa0, libgles2, libsecret-1-0, libxtst6 and
# libxss1, which Electron needs to launch. Run 930 failed with "Process failed to launch!"
# on the narrowed set.
- name: Install system libraries for Electron
run: npx playwright install-deps chromium
run: npx playwright install-deps
# The runner image has no xvfb and no fresh apt lists.
- name: Ensure a display for Electron