Add testing guidelines and fix .claude gitignore#215
Merged
KevinBatdorf merged 3 commits intomainfrom Apr 12, 2026
Merged
Conversation
- Add .claude/rules/testing.md with Playwright + WP Playground guidelines (path-scoped to tests/). Auto-loads when working on tests. - Update .gitignore to selectively track .claude/rules/ and settings.json while ignoring user-specific files. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
dc85a83 to
f56da59
Compare
Each spec runs in its own GitHub Actions runner with a fresh Playground. Specs do NOT share state. Tests within the same spec DO share state. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Move shared blueprint.json up to tests/ (default and at-rules were identical). manual-override keeps its own. - Update playwright.config.ts to walk up directories to find the closest blueprint.json, not just same dir or parent. - Rewrite at-rules test to check front-end rendered HTML instead of editor-side WASM state. Bypasses WASM timing issues on nightly. 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
.claude/rules/testing.mdwith Playwright + WP Playground testing guidelinestests/**— auto-loads only when working on test files.gitignoreto selectively track.claude/rules/andsettings.jsonwhile ignoring user-specific files (plans, todos, settings.local.json)🤖 Generated with Claude Code