Phase 1 step 2 of VNCprodbuild. e2e/electron-smoke.spec.ts uses Playwright's
_electron.launch() to boot the real skeleton (dist-electron/main.js from
step 1) and asserts:
- the login screen renders (same input[type="text"]/[type="password"]
selectors as e2e/login.spec.ts's browser-based check)
- zero uncaught page errors fire during load
Sets JMAP_SERVER_URL (any non-empty value) so the app reaches
lib/setup/state.ts's "env-managed" state and serves the normal login screen
instead of 302ing to the first-run /setup wizard - no live mail server or
mock JMAP build flag needed just to prove the shell renders.
playwright.electron.config.ts is deliberately separate from
playwright.config.ts: it has no `webServer` block, since this suite's app
boots its own server and would otherwise race pointlessly with `npm run dev`
starting on :3000 for the browser-based e2e/*.spec.ts suite.
Wired as `npm run test:electron`. Verified green locally (2 passed) after
`npm run build:standalone && npm run build:electron`; every later step in
the Electron rollout must keep this passing before moving on.
69 lines
1004 B
Plaintext
69 lines
1004 B
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/versions
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# env files
|
|
.env*
|
|
!.env.example
|
|
!.env.dev.example
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# electron (see electron/, scripts/build-electron.mjs, electron-builder.config.js)
|
|
/dist-electron/
|
|
/dist-electron-builds/
|
|
|
|
# playwright output
|
|
/test-results/
|
|
/playwright-report/
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# settings sync data
|
|
/data/
|
|
|
|
# Local private data
|
|
/local-data/
|
|
|
|
# Sibling repos
|
|
/repos/
|
|
|
|
# k8s deploy secret (create from deploy/k8s/secret.example.yaml)
|
|
/deploy/k8s/secret.yaml
|
|
|
|
# S/MIME plugin build output (rebuild with: cd vnc/plugins/smime && npm run build)
|
|
vnc/plugins/smime/node_modules/
|
|
vnc/plugins/smime/dist/
|
|
vnc/plugins/smime/smime-vnc.zip
|