Skip to content

Commit 0997619

Browse files
bloveclaude
andcommitted
docs(website): correct the e2e commands the plan hands the implementer
nx mangles the -- passthrough into 'unknown option --_=<spec>', so both task 5 steps failed before playwright even started. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent bb118c6 commit 0997619

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/superpowers/plans/2026-09-08-compatibility-airport-diagram.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,14 +1231,16 @@ test('the compatibility band does not scroll sideways on a phone', async ({ page
12311231

12321232
- [ ] **Step 2: Run the e2e to verify it passes**
12331233

1234-
Run: `npx nx e2e website -- home-airport.spec.ts`
1234+
Run: `npx playwright test --config=apps/website/playwright.config.ts e2e/home-airport.spec.ts`
1235+
1236+
(Do NOT use `npx nx e2e website -- <spec>` — this Nx version mangles the `--` passthrough into `unknown option '--_=<spec>'`. Also free ports 4308/4399/4506 first; a failing run leaves orphaned servers and the next run dies on `already used`.)
12351237
Expected: PASS, 3 tests.
12361238

12371239
If the first test reports issues, **fix the geometry in `airport-diagram.ts`, not the assertion.** The whole point of this spec is that it is the arbiter.
12381240

12391241
- [ ] **Step 3: Run the homepage spine e2e, which must be untouched**
12401242

1241-
Run: `npx nx e2e website -- website.spec.ts`
1243+
Run: `npx playwright test --config=apps/website/playwright.config.ts e2e/website.spec.ts`
12421244
Expected: PASS. `compatibility-heading` must still appear between `proof-heading` and `architecture-heading`.
12431245

12441246
- [ ] **Step 4: Commit**

0 commit comments

Comments
 (0)