home / skills / makfly / superpowers-symfony / e2e-panther-playwright
This skill helps you drive deterministic end-to-end tests for Symfony with Panther and Playwright, ensuring regression protection across components.
npx playbooks add skill makfly/superpowers-symfony --skill e2e-panther-playwrightReview the files below or copy the command above to add this skill to your agents.
---
name: symfony:e2e-panther-playwright
allowed-tools:
- Read
- Glob
- Grep
description: Drive Symfony delivery with deterministic tests and strong regression protection. Use for e2e panther playwright tasks.
---
# E2e Panther Playwright (Symfony)
## Use when
- Building regression-safe behavior with TDD/functional/e2e tests.
- Converting bug reports into executable failing tests.
## Default workflow
1. Write failing test for target behavior and one boundary case.
2. Implement minimal code to pass.
2. Refactor while preserving green suite.
2. Broaden coverage for invalid/unauthorized/not-found paths.
## Guardrails
- Prefer deterministic fixtures/builders.
- Assert observable behavior, not internal implementation.
- Keep tests isolated and stable in CI.
## Progressive disclosure
- Use this file for execution posture and risk controls.
- Open references when deep implementation details are needed.
## Output contract
- RED/GREEN/REFACTOR trace.
- Test files changed and executed commands.
- Coverage and confidence notes.
## References
- `reference.md`
- `docs/complexity-tiers.md`
This skill drives Symfony end-to-end testing using Panther and Playwright to create deterministic, regression-safe delivery. It focuses on a TDD-style RED/GREEN/REFACTOR loop to convert bugs into executable tests and protect behavior across releases. The skill reports changed test files, executed commands, and coverage/confidence notes.
You write a failing e2e test that captures the target behavior and at least one boundary case, then implement the minimal change to make the test pass and refactor while keeping the suite green. The tool emphasizes deterministic fixtures and isolated tests, running Panther and Playwright tasks to exercise the full stack and capture observable outcomes. Outputs include the RED→GREEN→REFACTOR trace, which files changed, the commands run, and short notes on coverage and confidence.
What does the output include?
A RED→GREEN→REFACTOR trace, list of test files changed, executed commands, and short coverage/confidence notes.
How do you avoid flaky tests?
Use deterministic fixtures/builders, isolate tests, assert on observable behavior, and keep setup minimal to reduce timing and environment variance.