Local Playwright/Electron acceptance scripts against the real app. Not in CI, gitignored by default, never pushed.
scripts/drivers/driver.<feature>.mjs
Driver scripts are local-only (gitignored — this directory ships empty except for this README). Run one you have written locally with:
node scripts/drivers/driver.<name>.mjs- Put new feature acceptance scripts here, named
driver.<feature>.mjs - Use
playwright-core's_electronto launchapps/*; screenshots usually go to/tmp/... - Division of labor with
apps/*/tests(vitest): unit tests run in CI; scripts here are for manual / on-demand real-app acceptance - Do not put
driver.*.mjsfiles in the repo root
When plan docs mention a driver, write the full path scripts/drivers/driver.xxx.mjs.