Skip to content

feat: add Playwright E2E testing for Electron app (#3)#4

Merged
lyx-tec merged 4 commits into
mainfrom
feat/playwright-e2e
May 30, 2026
Merged

feat: add Playwright E2E testing for Electron app (#3)#4
lyx-tec merged 4 commits into
mainfrom
feat/playwright-e2e

Conversation

@lyx-tec

@lyx-tec lyx-tec commented May 30, 2026

Copy link
Copy Markdown
Owner

Description

Fixes #3

Add Playwright E2E testing framework to WaveTerm for reliable, locally-runnable UI tests.

Changes

  • Add @playwright/test as dev dependency
  • Create playwright.config.ts with Electron launch configuration
  • Create shared launch helper at e2e/helpers/launch.ts (with WAVETERM_NOCONFIRMQUIT env var to skip quit dialog)
  • Write E2E test for search + copy-on-select clipboard behavior
  • Add npm scripts: npm run test:e2e and npm run test:e2e:build
  • Add CI workflow at .github/workflows/playwright.yml

Test Results

✓ 1 passed (12.6s)

Closes #3

@lyx-tec
lyx-tec merged commit ccc2750 into main May 30, 2026
3 of 6 checks passed
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.

feat: add Playwright E2E testing for Electron app

2 participants