Files
punimtag/e2e/.env.example
T
ilia 0a9223c943
CI / skip-ci-check (pull_request) Successful in 4s
CI / docker-ci (pull_request) Successful in 5s
CI / secret-scan (pull_request) Successful in 10s
CI / e2e (pull_request) Successful in 46s
test: add Playwright e2e smoke suite for punimtag dev
Add an e2e/ Playwright harness (via @levkin/playkit) that smoke-tests
the public DEV host: login page loads, sign-out never redirects to a
LAN host, FastAPI /health responds, and forgot-password mail lands in
Mailtrap with a public reset link (Kolby #56/#57 regressions).

Wire it into Gitea Actions as a new `e2e` job (self-hosted runner,
Chromium via Playwright), gated behind the existing skip-ci-check.
Add npm root scripts (install:e2e, test:e2e) and gitignore e2e build
artifacts (node_modules, reports, .env).
2026-07-14 17:11:38 -04:00

18 lines
516 B
Bash

# Public UI (required for host-guard tests)
PLAYKIT_BASE_URL=https://punimtagdev.levkin.ca
PLAYKIT_PROJECT=punimtag
PLAYKIT_ENV=dev
# FastAPI on the DEV LXC (runners on LAN can reach this)
PLAYKIT_API_BASE_URL=http://10.0.10.121:8000
# Dedicated e2e user — never commit real passwords
E2E_ADMIN_EMAIL=
E2E_ADMIN_PASSWORD=
# Mailtrap Email Testing (optional — forgot-password specs skip if unset)
# MAILTRAP_API_TOKEN=
# MAILTRAP_ACCOUNT_ID=
# MAILTRAP_INBOX_ID=
# E2E_MAIL_TO= # defaults to E2E_ADMIN_EMAIL