repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

docs: explain aggregate browser e2e

a1bd3c8bc55c3f778360b15735b28ad226328940

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (3)

AGENTS.md

Modified
11 11 ### Tasks
13 -| Task | Command | Description |
14 -| ------------ | ------------------------------------ | ------------------------------------- |
15 -| List | `mise run list` | List extensions |
16 -| Format | `mise run fmt` | Format repo |
17 -| Lint | `mise run lint` | Verify formatting and lint |
18 -| Test | `mise run test` | Run tests |
19 -| Bench | `mise run bench` | Run extension benchmarks sequentially |
20 -| E2E browsers | `mise run install-e2e-browsers` | Install Playwright E2E browsers |
21 -| E2E review | `mise run e2e-diff-review` | Run diff-review headless browser E2E |
22 -| Check | `mise run check` | Typecheck and static extension checks |
23 -| CI | `mise run ci` | Release gate (lint + test + check) |
24 -| Changelog | `mise run changelog -- {name}` | Generate changelog for extension |
25 -| README | `mise run readme -- {name}` | Generate/update README for extension |
26 -| Demo | `mise run demo -- {name}` | Record demo GIFs |
27 -| Release plan | `mise run release-plan -- {name}` | Preview release artifacts |
28 -| Prepare | `mise run release-prepare -- {name}` | Generate release artifacts |
29 -| Publish | `mise run publish -- {name}` | Publish prepared release artifacts |
13 +| Task | Command | Description |
14 +| ------------ | ------------------------------------ | ----------------------------------------- |
15 +| List | `mise run list` | List extensions |
16 +| Format | `mise run fmt` | Format repo |
17 +| Lint | `mise run lint` | Verify formatting and lint |
18 +| Test | `mise run test` | Run tests |
19 +| Bench | `mise run bench` | Run extension benchmarks sequentially |
20 +| E2E | `mise run e2e` | Run extension E2E in Chromium and Firefox |
21 +| Check | `mise run check` | Typecheck and static extension checks |
22 +| CI | `mise run ci` | Release gate (lint + test + check) |
23 +| Changelog | `mise run changelog -- {name}` | Generate changelog for extension |
24 +| README | `mise run readme -- {name}` | Generate/update README for extension |
25 +| Demo | `mise run demo -- {name}` | Record demo GIFs |
26 +| Release plan | `mise run release-plan -- {name}` | Preview release artifacts |
27 +| Prepare | `mise run release-prepare -- {name}` | Generate release artifacts |
28 +| Publish | `mise run publish -- {name}` | Publish prepared release artifacts |
31 30 Extension-specific tasks live in extension-local `mise.toml` files.
32 31 Run one from the root with `mise //extensions/<name>:<task>`.

extensions/diff-review/README.md

Modified
40 40 Settings:
41 41 none.
43 +## E2E
45 +Run root `mise run e2e` first to install browsers and execute every extension suite.
46 +After that bootstrap, run `mise run e2e` here, or `mise //extensions/diff-review:e2e` from the repository root, to test only the browser review flow in Chromium and Firefox.
43 48 ## Behavior
45 50 Opens a local browser UI for reviewing git diffs and sending findings back to

extensions/ui/README.md

Modified
30 30 They are not sandboxed.
31 31 Widget actions are audited and visibly attributed before widget-originated prompts reach the Pi session.
33 +## E2E
35 +Run root `mise run e2e` first to install browsers and execute every extension suite.
36 +After that bootstrap, run `mise run e2e` here, or `mise //extensions/ui:e2e` from the repository root, to test only the browser UI in Chromium and Firefox.
37 +The real Pi RPC smoke remains opt-in through `UI_REAL_RPC_SMOKE=1`.
33 39 ## Manual smoke
35 41 On win32, use zellij, never tmux: