playwright-spec-authoring
Turn a recorded running list of playwright-cli steps into a Playwright spec tests/<name>.spec.ts that loads storageState, contains no login or credentials, reuses or creates a per-site helpers file (manual-login wait, overlay dismissal, re-auth wait, downloads, popups, native print stub) and asserts every step. Use when: write the spec, generate the test file from the running list, add a section to an existing spec, which helper to use, what assertion to add after a step, create playwright.config.ts.
- License
- MIT
Pinned to revision 22aa224fbff4, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/playwright-spec-authoring/SKILL.md
- skills/playwright-spec-authoring/assets/playwright.config.template.ts
- skills/playwright-spec-authoring/assets/site-helpers.template.ts
- skills/playwright-spec-authoring/assets/spec.template.ts
Every link opens the file at its source, pinned to the revision this page describes.