mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
chore(ai): add smoke test script (agent)
- Adds `scripts/agent/smoke-test.mjs` to verify key flows: - Local relay setup - Local HTTP server (npx serve) - `NostrClient` integration (Node.js) - Frontend UI verification (Playwright) - Login, Video Publish, DM Decryption - Adds `test:smoke` script to `package.json` - Generates reports in `artifacts/` Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
4f13d49f66
commit
0f626c8ce7
2 files changed
+5
No files matched your search
@@ -25,6 +25,7 @@
|
||||
"test:visual:update": "npm run build && cross-env UPDATE_VISUAL_BASELINES=1 npx playwright test",
|
||||
"test:e2e": "npm run build && npx playwright test tests/e2e",
|
||||
"test:load": "node scripts/agent/load-test.mjs",
|
||||
"test:smoke": "node scripts/agent/smoke-test.mjs",
|
||||
"test:dm:unit": "node scripts/run-targeted-tests.mjs tests/dm-db.test.mjs tests/dm-decryptor.test.mjs tests/dm-normalization.test.mjs tests/nostr-send-direct-message.test.mjs",
|
||||
"test:dm:integration": "node scripts/run-targeted-tests.mjs tests/nostr/dm-direct-message-flow.test.mjs",
|
||||
"test:unit": "node scripts/run-unit-tests.mjs",
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* Smoke Test Script (Agent)
|
||||
* Verifies key flows: login, relay connect, video post, DM decrypt.
|
||||
*/
|
||||
|
||||
import './setup-test-env.js';
|
||||
import { startRelay } from './load-test-relay.mjs';
|
||||
|
||||
Reference in new issue
Block a user