Daily Dose of AISaturday

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

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?

About the author

Sumit Chaudhary

Author of 9 practical eBooks on AI, QA and automation at AI Playbook Hub.

Keep learning

Go deeper with an eBook

AI Productivity

Build It with Claude Code

Learn Claude Code by building 6 real projects, from your first command to CI automation, with every feature explained the moment you use it.

  • 6 hands-on projects
  • 52 features explained in place
  • 32 interview Qs + 50-question mock
Automation

n8n for QA & SDET

Learn the 26 n8n nodes testers use most, then build 5 QA automation projects you can show on GitHub and LinkedIn.

  • 26 nodes with QA use cases
  • 5 step-by-step POC projects
  • 7-day build plan