How do you turn a Jira user story into Playwright tests with Claude Code and MCP? (SDET interview question)

With Claude Code, Atlassian MCP and Playwright MCP, a single custom command (/story-to-tests QA-101) can fetch a user story, design test cases, generate Page Object Model scripts, run them and produce a traceability matrix.
Daily Dose of AI | What if a Jira User Story Could Turn into Running Playwright Tests with Just ONE Command?
Built a POC using Claude Code + MCP + Playwright to explore exactly that!
POC: User Story → Automated Tests → Execution → Traceability
Here's how the workflow works:
Step 1: Fetch user story and acceptance criteria from Jira using Atlassian MCP (or a local file).
Step 2: Claude Code analyzes the requirements and designs positive and negative test cases.
Step 3: Playwright MCP explores the live application, identifies locators, and captures actual error messages.
Step 4: Claude generates Playwright scripts using the Page Object Model (POM).
Step 5: Executes tests and investigates failures.
Step 6: Generates an Acceptance Criteria → Test Case → PASS/FAIL traceability matrix.
The interesting part?
Created a custom /story-to-tests skill to orchestrate the entire workflow! One command to trigger it: /story-to-tests QA-101
Github-https://lnkd.in/dnR6ttXD
Explore the AI ebooks-https://lnkd.in/dv_idBSH
Key Takeaway: AI isn't just helping us write automation scripts anymore. It can help orchestrate the entire testing workflow. But human review and independent verification remain essential!
QA Engineers & SDETs: Would you use this approach in your project?


