mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
This commit ensures the existence and correctness of `scripts/agent/smoke-test.mjs`, a Playwright-based regression test suite. The script: - Starts a local web server (npx serve) and a local relay (simple-relay.mjs). - Launches a headless browser to interact with the application. - Verifies key flows: - Ephemeral login. - Video publishing (Kind 30078). - Direct Message (DM) sending and decryption (Kind 4/1059). - Generates execution logs and summaries in `artifacts/`. Also ensures `scripts/agent/simple-relay.mjs` is present as a dependency.