From dc26ccf2465a7a59868b9006b2c5e1ffb8f2e6ee Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 15:06:45 +0000 Subject: [PATCH] docs(ai): fix duplicated install commands in README/CONTRIBUTING (agent) Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- CONTRIBUTING.md | 28 ++----------------- README.md | 23 ++------------- ...026-02-16_13-05-00_docs-agent_completed.md | 13 +++++++++ 3 files changed, 17 insertions(+), 47 deletions(-) create mode 100644 docs/agents/task-logs/daily/2026-02-16_13-05-00_docs-agent_completed.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5593f8a8..c838bbcc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -99,31 +99,13 @@ To set up the project locally: - **NPM**: v10 or higher (included with Node 22). 2. **Install Dependencies**: - Use `npm ci` to ensure you get the exact dependencies from `package-lock.json`. If you intend to run smoke or visual tests, also install Playwright browsers. + Use `npm ci` to ensure you get the exact dependencies from `package-lock.json`. If you intend to run smoke, visual, or end-to-end tests, also install Playwright browsers. ```bash npm ci npx playwright install ``` - If you plan to run visual or smoke tests, install the Playwright browsers: - - ```bash - npx playwright install - ``` - - If you plan to run smoke tests or visual tests, install the Playwright browsers: - - ```bash - npx playwright install - ``` - - If you plan to run smoke, visual, or end-to-end tests, install the Playwright browsers: - - ```bash - npx playwright install - ``` - 3. **Start the Application**: ```bash @@ -160,7 +142,7 @@ To set up the project locally: ```bash npm run test:e2e - npm run test:smoke + npm run test:smoke # Critical path verification npm run test:visual ``` @@ -183,12 +165,6 @@ To set up the project locally: npm run test:dm:integration ``` - To run smoke tests (critical path verification): - - ```bash - npm run test:smoke - ``` - To aggregate telemetry from test logs: ```bash diff --git a/README.md b/README.md index c9f3bfe1..6c343ffd 100644 --- a/README.md +++ b/README.md @@ -143,31 +143,13 @@ To run **bitvid** locally: 2. Install dependencies: - Use `npm ci` to install dependencies exactly as specified in `package-lock.json`. If you intend to run smoke or visual tests, also install Playwright browsers. + Use `npm ci` to install dependencies exactly as specified in `package-lock.json`. If you intend to run smoke, visual, or end-to-end tests, also install Playwright browsers. ```bash npm ci npx playwright install ``` - If you plan to run visual or smoke tests, install the Playwright browsers: - - ```bash - npx playwright install - ``` - - If you plan to run smoke tests or visual tests, install the Playwright browsers: - - ```bash - npx playwright install - ``` - - If you plan to run smoke, visual, or end-to-end tests, install the Playwright browsers: - - ```bash - npx playwright install - ``` - 3. Start the application: ```bash @@ -227,14 +209,13 @@ For detailed architecture and system documentation, see the [Documentation Index **Other commands:** -- **Run smoke tests**: `npm run test:smoke` +- **Run smoke tests**: `npm run test:smoke` (Critical path verification) - **Run load tests**: `npm run test:load` - **Run DM unit tests**: `npm run test:dm:unit` - **Run DM integration tests**: `npm run test:dm:integration` - **Run headless E2E tests**: `npm run test:e2e` - **Run visual regression tests**: `npm run test:visual` - **Update visual baselines**: `npm run test:visual:update` -- **Run smoke tests**: `npm run test:smoke` (Critical path verification) - **Run design system audit**: `npm run audit` (Generates remediation report) - **Aggregate telemetry**: `npm run telemetry:aggregate` - **Cancel CI runs**: See [`docs/cancelling-ci-runs.md`](docs/cancelling-ci-runs.md) for a script to clear pending workflows. diff --git a/docs/agents/task-logs/daily/2026-02-16_13-05-00_docs-agent_completed.md b/docs/agents/task-logs/daily/2026-02-16_13-05-00_docs-agent_completed.md new file mode 100644 index 00000000..15dc10bf --- /dev/null +++ b/docs/agents/task-logs/daily/2026-02-16_13-05-00_docs-agent_completed.md @@ -0,0 +1,13 @@ +# docs-agent Task Log + +- **Date**: 2026-02-16 +- **Agent**: docs-agent +- **Status**: Completed +- **Cadence**: Daily + +## Activities +- Audited `README.md` and `CONTRIBUTING.md` for duplicate instructions. +- Removed redundant `npx playwright install` commands. +- Consolidated installation instructions. +- Removed redundant `npm run test:smoke` entries and clarified existing ones. +- Verified changes with `npm run lint` and `npm run format`.