Skip to content

Commit 74c579f

Browse files
author
DavidQ
committed
Document Workspace V2 Playwright gate for repeatable local validation - PR_11_321
1 parent 892e469 commit 74c579f

6 files changed

Lines changed: 96 additions & 1 deletion

File tree

docs/dev/codex_commands.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,10 @@ PR_11_320
222222
```bash
223223
npx @openai/codex run --model gpt-5.3-codex --reasoning medium "Implement PR_11_320: Update Workspace V2 Playwright gate to execute installed Playwright command path only, preserving fail-fast and summary output."
224224
```
225+
226+
---
227+
PR_11_321
228+
229+
```bash
230+
npx @openai/codex run --model gpt-5.3-codex --reasoning medium "Implement PR_11_321: Document the Workspace V2 Playwright validation gate for repeatable local testing."
231+
```

docs/dev/commit_comment.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Update Workspace V2 Playwright gate to use installed command path while preserving fail-fast summary behavior - PR 11.320
1+
Document Workspace V2 Playwright validation gate usage and expected output/exit behavior - PR 11.321
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# PR_11_321 Report
2+
3+
## Scope
4+
- docs-only update for Workspace V2 Playwright validation gate documentation.
5+
6+
## Files Changed
7+
- `docs/dev/workspace_v2_playwright_gate.md`
8+
- `docs/pr/PR_11_321_WORKSPACE_V2_PLAYWRIGHT_GATE_DOCUMENTATION/PLAN_PR.md`
9+
- `docs/pr/PR_11_321_WORKSPACE_V2_PLAYWRIGHT_GATE_DOCUMENTATION/BUILD_PR.md`
10+
- `docs/dev/codex_commands.md`
11+
- `docs/dev/commit_comment.txt`
12+
13+
## Validation Run
14+
- `rg -n "npm run test:workspace-v2" docs/dev/workspace_v2_playwright_gate.md`
15+
- `rg -n "tests/results" docs/dev/workspace_v2_playwright_gate.md`
16+
- `rg -n "non-zero exit code|non-zero exit" docs/dev/workspace_v2_playwright_gate.md`
17+
18+
## Validation Results
19+
- PASS: docs mention `npm run test:workspace-v2`.
20+
- PASS: docs mention `tests/results` output path.
21+
- PASS: docs mention non-zero exit behavior on failure.
22+
23+
## Full Samples Smoke
24+
- Skipped intentionally because this PR is docs-only and does not modify runtime, shared framework, or sample execution logic.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Workspace V2 Playwright Validation Gate
2+
3+
Use this gate for repeatable local validation of Workspace V2 UI behavior.
4+
5+
## Command
6+
- `npm run test:workspace-v2`
7+
8+
## What It Runs
9+
- Executes the installed Playwright UI regression command for Workspace V2.
10+
- Fails fast and returns a non-zero exit code on any test failure.
11+
12+
## Output Paths
13+
- Test artifacts are written under `tests/results/`.
14+
- Trace artifacts are written under `tests/results/**` (for example in artifacts folders).
15+
- HTML report is written under `tests/results/report`.
16+
- Reporter auto-open behavior is controlled by `playwright.config.cjs`.
17+
18+
## Pass/Fail Behavior
19+
- Success:
20+
- tests complete
21+
- summary shows pass count
22+
- exit code is `0`
23+
- Failure:
24+
- any failed test causes non-zero exit
25+
- summary includes failed count
26+
- CI/local gate should treat this as a hard failure
27+
28+
## Smoke Test Policy
29+
- For Workspace V2 gate-only PRs, full samples smoke test should be skipped.
30+
- Run full samples smoke only when shared sample framework/runtime is changed.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# BUILD_PR_11_321
2+
3+
## Implementation
4+
- Added `docs/dev/workspace_v2_playwright_gate.md` with concise gate documentation for:
5+
- `npm run test:workspace-v2`
6+
- artifact output path `tests/results/` and `tests/results/**`
7+
- HTML report behavior at `tests/results/report`
8+
- expected gate pass/fail behavior, including non-zero exit on failure
9+
- full samples smoke skip guidance for gate-only PRs
10+
- Updated `docs/dev/codex_commands.md` with PR_11_321 command entry.
11+
- Updated `docs/dev/commit_comment.txt` with PR_11_321 commit comment text.
12+
13+
## Validation
14+
- `rg -n "npm run test:workspace-v2" docs/dev/workspace_v2_playwright_gate.md`
15+
- `rg -n "tests/results" docs/dev/workspace_v2_playwright_gate.md`
16+
- `rg -n "non-zero exit code|non-zero exit" docs/dev/workspace_v2_playwright_gate.md`
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# PLAN_PR_11_321
2+
3+
## Purpose
4+
Document the Workspace V2 Playwright validation gate for repeatable local testing.
5+
6+
## Scope
7+
- `docs/dev/workspace_v2_playwright_gate.md`
8+
- `docs/dev/codex_commands.md`
9+
- `docs/dev/commit_comment.txt`
10+
- `docs/dev/reports/PR_11_321_report.md`
11+
12+
## Steps
13+
1. Add a concise Workspace V2 Playwright gate usage note in `docs/dev`.
14+
2. Include command, output paths, HTML report behavior, and expected pass/fail exit behavior.
15+
3. Document when full samples smoke should be skipped.
16+
4. Add PR_11_321 execution entry in `docs/dev/codex_commands.md`.
17+
5. Update `docs/dev/commit_comment.txt` with the PR_11_321 commit summary line.
18+
6. Run targeted docs mention validation for required strings.

0 commit comments

Comments
 (0)