docs: add local test running guide to AGENTS.md#7442
Merged
JohnMcLear merged 4 commits intoether:developfrom Apr 3, 2026
Merged
docs: add local test running guide to AGENTS.md#7442JohnMcLear merged 4 commits intoether:developfrom
JohnMcLear merged 4 commits intoether:developfrom
Conversation
Expand the Testing & Validation section with step-by-step instructions for running backend (Mocha), frontend E2E (Playwright), and admin panel tests locally, including prerequisites and single-file examples. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Review Summary by QodoAdd comprehensive local test running guide to AGENTS.md
WalkthroughsDescription• Expands Testing & Validation section with detailed local test running instructions • Adds step-by-step guides for backend (Mocha), frontend E2E (Playwright), and admin panel tests • Includes prerequisites, command examples, file locations, and configuration details • Emphasizes running tests locally before pushing to CI Diagramflowchart LR
A["Testing & Validation Section"] --> B["Backend Tests Guide"]
A --> C["Frontend E2E Tests Guide"]
A --> D["Admin Panel Tests Guide"]
B --> E["Mocha commands & locations"]
C --> F["Playwright setup & commands"]
D --> G["Admin test commands"]
File Changes1. AGENTS.md
|
Code Review by Qodo
1.
|
Agents and developers should verify Playwright browsers and system dependencies are installed before running frontend/admin tests to avoid silent failures and timeouts (especially webkit). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Plugin tests are at repo-root node_modules/, not src/node_modules/ - Playwright runs chromium and firefox only (webkit is disabled) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Member
Author
|
/review |
|
Persistent review updated to latest commit 3a61a07 |
Playwright is a devDependency of the src workspace, so install-deps must also run from src/ to match the correct Playwright version. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
pnpm --filter ep_etherpad-lite run test→ 745 passing🤖 Generated with Claude Code