Add automated testing infrastructure (Vitest + Playwright E2E) #110
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user