fix: update E2E container rebuild instructions for clarity and efficiency across multiple documentation files
This commit is contained in:
8
.github/agents/Playwright_Dev.agent.md
vendored
8
.github/agents/Playwright_Dev.agent.md
vendored
@@ -27,10 +27,10 @@ You do not write code, strictly tests. If code changes are needed, inform the Ma
|
||||
<workflow>
|
||||
|
||||
1. **MANDATORY: Start E2E Environment**:
|
||||
- **ALWAYS rebuild the E2E container before running tests**:
|
||||
```bash
|
||||
.github/skills/scripts/skill-runner.sh docker-rebuild-e2e
|
||||
```
|
||||
- **Rebuild the E2E container when application or Docker build inputs change. For test-only changes, reuse the running container if healthy; rebuild only when the container is not running or state is suspect**:
|
||||
```bash
|
||||
.github/skills/scripts/skill-runner.sh docker-rebuild-e2e
|
||||
```
|
||||
- This ensures the container has the latest code and proper environment variables
|
||||
- The container exposes: port 8080 (app), port 2020 (emergency), port 2019 (Caddy admin)
|
||||
- Verify container is healthy before proceeding
|
||||
|
||||
Reference in New Issue
Block a user