preview-manual-test

Solid

Discover, wait for, sign in, create specific user data, and assert a PR preview deploy. Use on medium or high risk PRs, after pushing a ready-for-review PR, or when the user asks to test the preview URL.

Testing & QA 55 stars 2 forks Updated 5 days ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
58
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Manual preview testing Read [`docs/contributing/preview-manual-testing.md`](../../../docs/contributing/preview-manual-testing.md). Do not improvise `gh` comment scraping, local E2E against the preview URL, or raw D1 seeding of preview resources. Prefer [`control-kody`](../control-kody/SKILL.md) when you also need `doctor`, local login, Feature Map lookup, or a `/health` SHA check: ```bash npm run control-kody -- preview -- --request 'GET /onboarding.json' --check /onboarding/step-2 ``` ## Command ```bash npm run preview:manual-test ``` On **medium or high risk**, do not stop at the default health/login smoke. The seed user (`me@kentcdodds.com` / `ilikecode`, username `user-me`) has **no** secrets, packages, or jobs until you create them. Script that data and the assertions as the same logged-in user: ```bash npm run preview:manual-test -- \ --request 'POST /onboarding/checklist-dismiss.json {}' \ --request 'GET /onboarding.json' \ --check /onboarding/step-2 ``` `--request` spec: `METHOD /path [status] [json-body]` (default success: 2xx). Use the JSON APIs the UI uses (`/account/*.json` in `packages/worker/universal/routes.ts`). `--json` includes `session.cookieHeader`; `--cookie-file` writes it for follow-up `curl`. `--pr`, `--url`, `--no-wait`, `--skip-login`, `--help` as documented. ## When After the PR is **ready for review** (drafts and forks have no preview) and you have pushed the commits you want to exercise. Typical triggers: visual-recap risk is **...

Details

Author
modem-dev
Repository
modem-dev/ossrules
Created
1 weeks ago
Last Updated
5 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Featured

preview

Stand up the project's live app and hand it to the user to try a change firsthand, then gate on their verdict before continuing. Use when the user asks to "preview the change", "let me try it", "spin up the app so I can test it", "set it up so I can poke at it", or before finalizing a UI/UX change that needs human eyes.

403 Updated yesterday
tobihagemann
Testing & QA Listed

preview-spec

Makes a UI pull request autonomously verifiable. `author` generates a step-by-step UI verification spec for the PR's visual change and injects it into the PR description as a collapsed, machine-findable block (delegated to by `create-pr` on UI diffs; also runnable standalone). `run` extracts that block, resolves the PR's live preview deployment URL via the GitHub deployments API, and runs the spec against it with Playwright by dispatching the `aw-tester` agent, then reports a pass/fail verdict. A two-way LoreKit memory loop connects them: the runner records navigation quirks it hits, and the author reads those lessons so future specs start correct from the outset. Web only — the spec grammar and Playwright runner are `aw-tester`'s; this skill owns the PR-embedding, URL resolution, and the authoring loop. Triggers on "write a preview spec", "add a UI verification spec", "verify this PR's preview", "run the preview spec", "test the preview deployment", "/preview-spec".

13 Updated today
mthines
Code & Development Listed

preview-and-prove

Use when the user wants a real local or UI proof — launch local, relaunch, run local, "do not deploy / run local", QA via playwright, e2e in browser/app, tunnel for test mode, "did you verify/check it works" on a visible flow, preview, or responsive QA. Prefer this over deploy-and-prove when they say run local or do not deploy. Especially checkout, authentication, onboarding, forms, extensions, or responsive behavior.

0 Updated 6 days ago
YosefHayim