- record a trace for each scenario run and upload it as trace.zip - add PLAYWRIGHT_TRACE_MODE (on, retain-on-failure, off) as the default - add a trace mode option to the run modal, stored per run and reused by repeat run; expose the default via GET /scenarios/run-defaults - accept traceMode in POST /scenarios/:id/run and run_scenario MCP tool - share one run modal component between scenario list and detail pages - git-ignore server/data
21 lines
622 B
Bash
21 lines
622 B
Bash
NODE_ENV=development
|
|
PORT=3000
|
|
|
|
# Directory (relative to cwd) containing *.json key descriptors
|
|
KEYS_DIR=keys
|
|
|
|
# SQLite database path
|
|
DB_PATH=data/sessions.db
|
|
|
|
# Playwright executable (set in Docker; leave empty to use system default)
|
|
# PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium
|
|
|
|
# Session lifecycle
|
|
# Close open sessions that have been idle for longer than this many minutes
|
|
SESSION_IDLE_TIMEOUT_MINUTES=30
|
|
# Delete closed sessions whose updatedAt is older than this many days
|
|
SESSION_DELETE_CLOSED_DAYS=7
|
|
|
|
# Playwright trace recording for scenario runs: on | retain-on-failure | off
|
|
PLAYWRIGHT_TRACE_MODE=on
|