mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
docs(ai): update onboarding steps (onboarding-audit-agent)
- Added `npx playwright install` instruction to `README.md` and `CONTRIBUTING.md` as it is required for smoke, visual, and e2e tests. - Created audit report `docs/agents/task-logs/daily/2026-02-15_14-39-43_onboarding-audit-agent_completed.md`. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
5b188bca31
commit
7a285cd60d
3 files changed
+42
No files matched your search
@@ -105,6 +105,12 @@ To set up the project locally:
|
|||||||
npm ci
|
npm ci
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you plan to run smoke, visual, or end-to-end tests, install the Playwright browsers:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx playwright install
|
||||||
|
```
|
||||||
|
|
||||||
3. **Start the Application**:
|
3. **Start the Application**:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -149,6 +149,12 @@ To run **bitvid** locally:
|
|||||||
npm ci
|
npm ci
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you plan to run smoke, visual, or end-to-end tests, install the Playwright browsers:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx playwright install
|
||||||
|
```
|
||||||
|
|
||||||
3. Start the application:
|
3. Start the application:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
# Onboarding Audit Report
|
||||||
|
|
||||||
|
**Date:** 2026-02-15
|
||||||
|
**Agent:** onboarding-audit-agent
|
||||||
|
**Result:** PASSED with fixes
|
||||||
|
|
||||||
|
## Headline
|
||||||
|
⚠️ Onboarding failures found (and fixed)
|
||||||
|
|
||||||
|
## Environment
|
||||||
|
- OS: Linux (simulated)
|
||||||
|
- Node: v22.22.0
|
||||||
|
- NPM: 10.9.1
|
||||||
|
|
||||||
|
## Steps Executed
|
||||||
|
1. `npm ci` - PASSED
|
||||||
|
2. `npm run build` - PASSED
|
||||||
|
3. `npm run test:unit:shard1` - PASSED
|
||||||
|
4. `npm run test:smoke` - FAILED initially (missing browsers), PASSED after fix.
|
||||||
|
5. `npm run format` - PASSED
|
||||||
|
6. `npm run lint` - PASSED
|
||||||
|
|
||||||
|
## Failures & Fixes
|
||||||
|
- **Failure:** `npm run test:smoke` failed with "Executable doesn't exist".
|
||||||
|
- **Root Cause:** Playwright browsers were not installed in the fresh environment.
|
||||||
|
- **Fix:** Added `npx playwright install` instruction to `README.md` and `CONTRIBUTING.md`.
|
||||||
|
|
||||||
|
## Docs Changes
|
||||||
|
- `README.md`: Added `npx playwright install` step.
|
||||||
|
- `CONTRIBUTING.md`: Added `npx playwright install` step.
|
||||||
Reference in new issue
Block a user