Skip to content

Commit 0361965

Browse files
committed
Update skills for E2E preview script
1 parent 9c7303c commit 0361965

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.cursor/skills/e2e-playwright-extension/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ Aligned with [WXT’s Playwright E2E example](https://github.com/wxt-dev/example
1414
- Page helpers in [e2e/pages/](e2e/pages/) (e.g. [e2e/pages/popup.ts](e2e/pages/popup.ts))
1515
- Fixture page served via Playwright `webServer` + custom static server:
1616
- `e2e/serve-fixtures.mjs`
17+
- `playwright.config.ts` currently uses `webServer.command: node e2e/serve-fixtures.mjs 51234`
1718
- `playwright.config.ts` points `webServer.url` at `http://localhost:51234/inspector-playground.html`
1819
- `use.baseURL` is `http://localhost:51234`
1920
- Tests navigate with relative paths like `/inspector-playground.html`
21+
- `e2e:preview` is available as `vite preview --host localhost --port 51234 --strictPort` for local/CI experiments, but is not the default command until startup is stable in CI
2022

2123
## Fixture
2224

.cursor/skills/wxt-svelte-extension/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ description: Provides project context for the amgiflol WXT + Svelte 5 browser ex
2020
| `pnpm build` | Chrome build (MV3) |
2121
| `pnpm build:firefox` | Firefox build (MV3) |
2222
| `pnpm build:all` | Both targets |
23+
| `pnpm e2e:preview` | Vite preview on localhost:51234 for E2E fixture hosting experiments |
2324
| `pnpm zip` / `pnpm zip:all` | Distribution zips |
2425

2526
## Constraints

0 commit comments

Comments
 (0)