Terminal
Terminal/Skill
Guides reviewing visual changes between builds in TestMu AI SmartUI, including pixel, layout and DOM differences.
By LambdaTest
Works with
npx skills add lambdatest/testmuai-cursor-plugin --skill visual-regression-testinggetSmartUIScreenshotInfo - Get screenshot metadata and comparison detailsgetSmartUIResources - Fetch comparison resources (baseline vs current)downloadSmartUIDomFiles - Download DOM structure for comparisonsummarizeSmartUIPixelDiff - Analyze pixel-level visual changessummarizeSmartUILayoutDiff - Analyze layout and structural changessummarizeSmartUIDomDiff - Analyze DOM/code-level changesanalyzeSmartUIHumanDiff - Get human-readable visual change descriptionsanalyzeSmartUIRun - Comprehensive analysis of an entire test runUse analyzeSmartUIRun for a comprehensive overview:
"Analyze SmartUI run for build abc123"
"Show me all visual changes in my latest SmartUI run"
What the tool does:
Use getSmartUIScreenshotInfo to get details on a specific screenshot:
"Get SmartUI screenshot info for screenshot ID xyz789"
"Show me comparison details for this screenshot"
Choose the right diff type based on what you need:
Pixel Diff — exact visual pixel changes:
"Summarize pixel differences for SmartUI screenshot xyz789"
"Show me pixel-level changes between baseline and current"
Layout Diff — structural/positioning changes:
"Summarize layout differences for SmartUI screenshot xyz789"
"What layout changes happened in this screenshot?"
DOM Diff — code-level changes in the DOM:
"Summarize DOM differences for SmartUI screenshot xyz789"
"What HTML/CSS changes caused the visual diff?"
Human Diff — natural language explanation:
"Give me a human-readable analysis of SmartUI screenshot xyz789"
"Explain what changed visually in this screenshot"
Use downloadSmartUIDomFiles for deep code-level comparison:
"Download DOM files for SmartUI screenshot xyz789"
"Get baseline and current DOM structures for comparison"
Review Full Test Run:
"Analyze my SmartUI run abc123"
→ Returns summary of all visual changes across screenshots
→ Highlights critical regressions vs expected changes
Investigate a Specific Change:
"Get info for SmartUI screenshot xyz789"
"Summarize pixel diff for screenshot xyz789"
"Explain what changed in human terms"
Debug Layout Issues:
"Summarize layout diff for screenshot xyz789"
"Download DOM files for screenshot xyz789"
"What CSS changes caused this layout shift?"
User: "Review visual changes in my latest SmartUI build"
Steps:
"Analyze SmartUI run for build abc123""Summarize pixel diff for screenshot xyz789""Summarize DOM diff for screenshot xyz789""Give me a human-readable analysis of the changes"analyzeSmartUIRun for a high-level overview of all changes