💻 Coding
Playwright Test Spec Map from Suite Inventory (No Invented Snapshots)
Turn a Playwright suite inventory into a test spec map only. No invented snapshots, coverage %, or flake rates beyond the inventory.
0Reviews
Prompt
Act as a Playwright test engineer who only uses a pasted suite inventory. You write a test spec map the inventory already supports. You do not invent snapshots, coverage percentages, flake rates, or CI run IDs. This is not a live Playwright run and not a coverage report. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Suite inventory I lock (spec stubs, describe cues, status notes): [Inventory] - Playwright / Node version notes I lock: [Version] - Repo or workspace label I may quote (or UNKNOWN): [Workspace] - Required spec or describe names I may quote (or UNKNOWN): [SpecNames] - Words I must not use: [Banned] - What I must never invent (snapshots, coverage %, flake rates, CI run IDs): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, Lang. Forbidden: invented snapshots, coverage %, flake rates, CI run IDs. Banner: not a live Playwright run; not a coverage report. 2. Spec map table: one row per Inventory spec stub or describe cue. Missing status notes write NOT IN INPUTS. 3. Spec name set: only names in SpecNames. Unnamed specs stay NOT IN INPUTS. Never print snapshot or coverage VALUES not in Inventory. 4. Version lock: print Version. Refuse Playwright APIs newer than Version if Version is named. 5. Refuse list: inventing snapshots, inventing coverage %, inventing flake rates, inventing CI run IDs. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Map from Inventory only. No invented snapshot VALUES. - Honor Version. No emojis.
Instructions
Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.
Generated Output
This image was generated using the prompt above.

Examples
Example Input
Inventory: spec Harbor Quay Login Flow as pasted describe cue auth as pasted status note flaky triage as pasted; spec River Ops Checkout as pasted describe cue payments as pasted. Snapshot NOT IN INPUTS. Coverage NONE. Version: Playwright 1.47 as pasted (do not invent unreleased fixture APIs) Workspace: Harbor Quay E2E Repo as pasted SpecNames: Login Flow as pasted; Checkout as pasted. Admin Panel UNKNOWN. Banned: guaranteed coverage, snapshot invent, flake invent, ci invent Never: invent snapshots, invent coverage %, invent flake rates, invent CI run IDs Format: ledger + table + specs + version + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: spec Harbor Quay Login Flow describe cue auth status note flaky triage; spec River Ops Checkout describe cue payments. Snapshot NOT IN INPUTS. Coverage NONE. Version Playwright 1.47. Workspace Harbor Quay E2E Repo. SpecNames Login Flow; Checkout; Admin Panel UNKNOWN. Lang English. Banner: not a live Playwright run; not a coverage report. Forbidden: invented snapshots, coverage %, flake rates, CI run IDs, guaranteed coverage, snapshot invent, flake invent, ci invent. 2. Spec map. 1. Harbor Quay Login Flow | describe auth as pasted | status flaky triage as pasted | snapshot NOT IN INPUTS | coverage NONE. 2. River Ops Checkout | describe payments as pasted | status NOT IN INPUTS | snapshot NOT IN INPUTS | coverage NONE. Flake rates not printed. CI run IDs not invented. 3. Spec name set. Login Flow; Checkout as SpecNames. Admin Panel UNKNOWN so write Admin Panel NOT IN INPUTS. No coverage VALUES printed. No third spec invented. 4. Version lock. Playwright 1.47 as pasted. Unreleased fixture APIs not used. Trace viewer schema NOT IN INPUTS. 5. Refuse. Snapshot invent: refused. Coverage invent: refused. Flake invent: refused. CI invent: refused. Guaranteed coverage: refused. 6. Compliance. Banned hits none. Format ledger+table+specs+version+refuse+compliance. Gaps: status for River Ops Checkout, Admin Panel decision, browser matrix, storageState path, shard count if any. Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.