๐ I Built an AI-Native QA System That Automates the Entire STLC Using MCP, Cursor IDE, Figma MCP &โฆ
Traditional QA automation is breaking.
๐ I Built an AI-Native QA System That Automates the Entire STLC Using MCP, Cursor IDE, Figma MCP & Playwright
Traditional QA automation is breaking.
โ Test scripts become flaky โ Locators fail constantly โ Requirements drift from automation โ Teams spend more time maintaining tests than building them โ AI copilots generate generic outputs without understanding the product
Meanwhile, AI models are becoming insanely powerful.
But thereโs still one major problem:
AI doesnโt understand enterprise context.
So I started building something different.
I built an AI-native QA ecosystem that automates almost the entire Software Testing Life Cycle (STLC) using:
โ
Freshrelease MCP (Project Management tool like jira)
โ
Cursor IDE
โ
Claude
โ
.md contextual memory files
โ
.skill engineering rules
โ
Figma MCP
โ
Playwright MCP
โ
Self-healing automation
The result feels less like a test frameworkโฆ
and more like having an autonomous QA engineer inside the IDE ๐คฏ
๐ง The Core Problem with Modern QA
Most QA teams today struggle with:
- Massive manual testcase effort
- Constant automation maintenance
- Fragile locators
- Weak traceability
- Knowledge silos
- Duplicate automation
- Generic AI-generated testcases
Even the best LLMs fail because they lack:
- Product understanding
- Business rules
- Existing automation awareness
- Framework standards
- Design intelligence
Without context, AI produces:
- generic testcases
- inconsistent scripts
- duplicated automation
- poor edge-case coverage
Thatโs where MCP changed everything.
โก What is MCP?
MCP (Model Context Protocol) allows LLMs to communicate with enterprise systems using structured workflows.
Instead of treating AI like a chatbotโฆ
MCP transforms AI into a:
๐ง Context-aware engineering agent
Through MCP, AI can:
- read user stories
- fetch test artifacts
- understand hierarchy
- create workflows
- connect enterprise systems
So I built my own MCP server for Freshrelease(Project Management tool like jira).
๐ง Freshrelease MCP
๐ GitHub: https://github.com/dasscoax/freshrelease_mcp
The Freshrelease MCP exposes Freshrelease APIs directly to AI systems.
The AI can now: โ Fetch epics and stories โ Analyze requirements โ Generate QA insights โ Fetch/Create testcases โ Link releases/sprints โ Track automation coverage
This became the foundation of my AI-native QA system.
๐ค Cursor IDE + MCP = Autonomous QA Workflows
The breakthrough happened when I combined:
- Cursor IDE
- Claude
- Freshrelease MCP
- Figma MCP
- Playwright MCP
Suddenly the AI could:
โ Read requirements โ Understand designs โ Follow testing standards โ Analyze existing automation โ Generate testcases โ Generate Playwright scripts โ Self-heal locators
It started behaving less like a chatbotโฆ
and more like a senior SDET ๐
๐ Using .md Files as Long-Term QA Memory
I started storing business knowledge in markdown files.
These .md files contain:
- business rules
- workflows
- authentication logic
- regression strategy
- API contracts structure
- reference automation scripts
Example:
# Login Rules
- MFA mandatory for admins
- Password expires every 90 days
- Lock account after 5 failed attempts
- Session timeout after 15 mins inactivity
This changed the quality of AI outputs dramatically.
Instead of generic testcasesโฆ
the AI started generating domain-aware scenarios ๐ง
๐ ๏ธ .skill Files Became AI Engineering Standards
This was one of the most powerful ideas.
I created .skill files that teach the AI:
- framework architecture
- test pyramid/test trophy standards
- locator strategy
- naming conventions
- assertion patterns
- retry handling
- reporting standards
- security validation rules
Example:
Playwright Rules:
- Prefer getByRole()
- Use data-testid
- Avoid XPath
- Avoid hard waits
- Use retry assertions
- Reuse existing page objects
Now AI generates automation like a trained QA architect ๐จโ๐ป
๐จ Figma MCP Completely Changed Test Design
One huge problem in QA is converting UI designs into test scenarios.
Figma MCP solved this beautifully.
The AI can now: โ Read Figma designs โ Understand UI hierarchy โ Detect forms/buttons/modals โ Infer workflows โ Identify validations โ Generate UI test coverage automatically
Workflow:
Figma Design
โ
AI UI Analysis
โ
Scenario Generation
โ
Automation Skeletons
This massively reduced manual testcase effort ๐
๐ฅ Playwright MCP + Self-Healing Locators
Locator maintenance is one of the biggest automation nightmares.
Traditional selectors fail because:
- CSS changes
- DOM hierarchy changes
- Dynamic rendering shifts elements
With Playwright MCP + semantic AI understanding:
The system can: โ Understand UI intent โ Re-identify elements โ Heal broken locators โ Suggest stable selectors โ Adapt to DOM changes
Instead of:
.page > div:nth-child(2) > button
The AI generates:
getByRole('button', { name: 'Submit' })
or:
getByTestId('submit-btn')
This dramatically reduced flaky automation ๐ฏ
๐งช AI-Generated Testcases Directly from User Stories
This became my favorite workflow.
Example Story:
โAs a user, I should be able to reset my password using email verification.โ
The AI now automatically:
1๏ธโฃ Reads the User story
2๏ธโฃ Analyzes Figma screens
3๏ธโฃ Applies .md business rules
4๏ธโฃ Follows .skill standards
5๏ธโฃ Generates:
- functional scenarios
- negative cases
- edge cases
- API validations
- accessibility tests
- security checks
- automation scripts
The output quality became shockingly good ๐คฏ
๐ Auto-Creating Testcases in Freshrelease(PM tool)
The AI doesnโt just generate testcases anymore.
It directly creates them inside project management tool.
The system now: โ Creates testcase entities โ Links stories โ Assigns priorities โ Maps regression suites โ Tracks automation coverage
Workflow:
Requirement
โ
AI Analysis
โ
Scenario Generation
โ
Freshrelease MCP
โ
Automatic Testcase Creation
No spreadsheets. No manual testcase management. No disconnected QA docs.
โ๏ธ AI-Generated Automation Using Existing Framework Standards
One massive issue with AI-generated automation is duplication.
To solve this, the AI first analyzes:
- existing scripts
- page objects
- helper utilities
- fixtures
- reporting hooks
- framework architecture
before generating code.
This enables: โ Reuse-first automation โ Framework consistency โ Reduced duplication โ Better maintainability
๐ป Example AI-Generated Playwright Script
import { test, expect } from '@playwright/test';
import { LoginPage } from '../pages/LoginPage';
import { ForgotPasswordPage } from '../pages/ForgotPasswordPage';
test('Verify user can reset password successfully', async ({ page }) => {
const loginPage = new LoginPage(page);
const forgotPasswordPage = new ForgotPasswordPage(page);
await loginPage.navigate();
await loginPage.clickForgotPassword();
await forgotPasswordPage.requestPasswordReset(
'testuser@example.com'
);
await expect(
forgotPasswordPage.successMessage
).toBeVisible();
});
The AI already follows: โ Existing framework patterns โ Locator strategy โ Reporting integrations โ Retry handling โ Shared utilities
๐ Automating the Entire STLC
This system now automates:
โ Requirement Analysis โ Test Planning โ Scenario Design โ Testcase Generation โ Traceability โ Automation Development โ Locator Healing โ Test Execution โ Failure Analysis โ Regression Optimization โ Defect Insights
This is no longer just โautomationโ.
Itโs becoming:
๐ค AI-native STLC engineering
๐๏ธ Final Architecture
Freshrelease(Project management tool)
โ
Freshrelease MCP
โ
Cursor IDE + Claude
โ
.md Business Context
โ
.skill QA Standards
โ
Figma MCP Analysis
โ
AI Requirement Understanding
โ
Test Scenario Generation
โ
Freshrelease Testcase Creation
โ
Playwright Automation Generation
โ
Self-Healing Execution
โ
AI Defect Analysis
โ
Regression Optimization
๐ก Key Learnings
1๏ธโฃ Context > Prompting
The biggest improvements came from:
- structured memory
- engineering standards
- business context
- framework awareness
not prompt engineering alone.
2๏ธโฃ AI Needs Governance
Without standards, AI creates chaos.
.skill files became critical for:
โ
consistency
โ
maintainability
โ
scalability
โ
framework quality
3๏ธโฃ MCP is the Missing Enterprise AI Layer
MCP transforms AI from:
โassistantโ
into:
โengineering systemโ
4๏ธโฃ QA Engineers Are Evolving
The future role of QA is shifting from: โ writing scripts
to: โ designing intelligent validation ecosystems
๐ Final Thoughts
Building this ecosystem completely changed how I think about automation.
The combination of:
- Freshrelease MCP
- Cursor IDE
.mdcontextual memory.skillengineering rules- Figma MCP
- Playwright MCP
- Self-healing automation
created a workflow where AI behaves like an experienced SDET teammate.
This is no longer traditional automation.
This is the beginning of:
๐ค AI-Native QA Engineering
And honestlyโฆ
weโre only getting started ๐ฅ
๋ฉํ๋ฐ์ดํฐ
- post_id
- 215ef7bc18e9
- slug
- i-built-an-ai-native-qa-system-that-automates-the-entire-stlc-using-mcp-cursor-ide-figma-mcp-215ef7bc18e9
- url
- https://medium.com/@dasschamp/i-built-an-ai-native-qa-system-that-automates-the-entire-stlc-using-mcp-cursor-ide-figma-mcp-215ef7bc18e9
- canonical_url
- https://medium.com/@dasschamp/i-built-an-ai-native-qa-system-that-automates-the-entire-stlc-using-mcp-cursor-ide-figma-mcp-215ef7bc18e9
- author_url
- https://medium.com/@dasschamp
- status
- ok
- fetched_at
- 2026-06-10 08:17:25