fix(app): no HTML report for the shell suite, it kept typed passwords

The report's step titles held what the tests typed, the throwaway sandbox
accounts' passwords included, contrary to BROWSER_TESTS.md. The shell suite
keeps the terminal output and failure screenshots; the old report deleted.
This commit is contained in:
bchanot committed 2026-10-26 02:00:33 +01:00
1 parent d33a8f6dad
commit db81928dfa
2 files changed
+15 -10

No files matched your search

+6 -5
View File
@@ -3,7 +3,8 @@
* shell in Chromium against the isolated stack of `pnpm db:sandbox`, never DEV.
* The dev server is built with a Supabase URL that resolves nowhere and runs
* on a loopback port of its own; e2e/support/sandbox.ts replays its calls on
* the sandbox. No trace is kept: it would hold the session tokens.
* the sandbox. No trace and no HTML report are kept: they would hold the
* session tokens and the typed passwords.
*/
import { defineConfig } from '@playwright/test'
import type { GuardOptions } from './support/browser'
@@ -23,10 +24,10 @@ export default defineConfig<GuardOptions>({
fullyParallel: true,
forbidOnly: true,
retries: 0,
reporter: [
['list'],
['html', { outputFolder: './playwright-report/shell', open: 'never' }],
],
// No HTML report: its step titles would keep what the test typed, the
// fictitious accounts' passwords included. The terminal and the failure
// screenshots stay.
reporter: [['list']],
use: {
baseURL: ORIGIN,
allowedOrigins: [ORIGIN, FAKE_SUPABASE_ORIGIN],