test: add Playwright e2e smoke suite for punimtag dev #60
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "test/e2e-playwright-smoke"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
e2e/Playwright harness (via@levkin/playkit) smoke-testing the public DEV host:/healthreturns{ "status": "ok" }e2ejob into.gitea/workflows/ci.yml: self-hosted runner, installs Chromium, runsnpx playwright test, uploads the HTML report as an artifact on failure. Gated behind the existingskip-ci-checkjob like the other lanes.install:e2e/test:e2enpm scripts for local use.node_modules,playwright-report,test-results,blob-report,.auth,.env).Notes
E2E_ADMIN_*/MAILTRAP_*secrets aren't present; only the public login-page + API health specs are required to pass.@levkin/playkitis a private git dependency — CI clones it over HTTPS using aGITEA_TOKENsecret if set (see "Allow private playkit clone" step). If that secret isn't configured for this repo yet, watch for annpm ciauth failure on thee2ejob.LevkinOpssynced to Gitea Actions — see ansibledocs/hardening/SECRETS.md. I did not add/modify any secrets myself.Test plan
git add/commit scoped to only the e2e harness + CI wiring (no build artifacts, no real.env, no hardcoded credentials — verified via grep)e2eCI job on this PR; confirmnpm cican clone@levkin/playkitand the two credential-free specs (login page, API health) pass