Skip to content
CommandImported

setup-visual-testing

Setup comprehensive visual regression testing with cross-browser and responsive testing

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 3.4 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/setup-visual-testing.zip -d .claude/commands

  • For your account on the whole machine

    It goes in: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/setup-visual-testing.zip -d ~/.claude/commands

Instructions

Setup Visual Testing

Setup comprehensive visual regression testing with responsive and accessibility validation: $ARGUMENTS

Current Visual Testing Context

  • Frontend framework: !grep -l "react\\|vue\\|angular" package.json 2>/dev/null || echo "Detect framework"
  • UI components: !find . -name "components" -o -name "src" | head -1 && echo "Component structure detected" || echo "Analyze structure"
  • Existing testing: !find . -name "cypress" -o -name "playwright" -o -name "storybook" | head -1 || echo "No visual testing"
  • CI system: !find . -name ".github" -o -name ".gitlab-ci.yml" | head -1 || echo "No CI detected"

Task

Implement comprehensive visual testing with regression detection and accessibility validation:

Testing Scope: Use $ARGUMENTS to focus on component testing, page testing, responsive testing, cross-browser testing, or accessibility testing

Visual Testing Framework:

  1. Tool Selection & Setup - Choose visual testing tools (Percy, Chromatic, BackstopJS, Playwright), configure integration, setup environments
  2. Baseline Creation - Capture visual baselines, organize screenshot structure, implement version control, optimize image management
  3. Test Scenario Design - Create component tests, design page workflows, implement responsive breakpoints, configure browser matrix
  4. Integration Setup - Configure CI/CD integration, setup automated execution, implement review workflows, optimize performance
  5. Regression Detection - Configure diff algorithms, setup threshold management, implement approval workflows, optimize accuracy
  6. Advanced Testing - Setup accessibility testing, configure cross-browser validation, implement responsive testing, design performance monitoring

Advanced Features: Automated visual testing, intelligent diff analysis, accessibility compliance checking, responsive design validation, performance visual metrics.

Quality Assurance: Test reliability, false positive reduction, maintainability optimization, execution performance.

Output: Complete visual testing setup with baseline management, regression detection, CI integration, and comprehensive validation workflows.

Files

  • LICENSE1 KB
  • setup-visual-testing.md2.4 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookAllowed tools with no limits

    In file cli-tool/components/commands/testing/setup-visual-testing.md

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report

Similar items

  • CommandImported

    add-mutation-testing

    Setup comprehensive mutation testing with framework selection and CI integration

    MITFiles: 1

  • CommandImported

    add-property-based-testing

    Implement property-based testing with framework selection and invariant identification

    MITFiles: 1

  • CommandImported

    ai-review

    Run an AI-assisted code review that combines static analysis tools with AI review of security, performance, and architecture

    MITFiles: 1

  • CommandImported

    code-permutation-tester

    Test multiple code variations through simulation before implementation with quality gates and performance prediction.

    MITFiles: 1

  • CommandImported

    create-feature

    Scaffold new feature with boilerplate code, tests, and documentation

    MITFiles: 1

  • CommandImported

    decision-quality-analyzer

    Analyze team decision quality with bias detection, scenario testing, and process improvement recommendations

    MITFiles: 1