MCP HubMCP Hub
스킬 목록으로 돌아가기

compatibility-testing

majiayu000
업데이트됨 Today
122 조회
58
9
58
GitHub에서 보기
기타compatibilitycross-browserresponsivebrowserstackplaywrightdevices

정보

이 스킬은 일관된 사용자 경험을 보장하기 위해 자동화된 크로스 브라우저, 크로스 플랫폼, 크로스 디바이스 호환성 테스트를 수행합니다. 브라우저 지원 검증, 반응형 디자인 중단점 테스트, 플랫폼 호환성 확인에 활용할 수 있습니다. 정의된 브라우저 매트릭스에서 병렬 테스트를 실행하며, 클라우드 서비스를 활용해 광범위한 디바이스 커버리지를 제공합니다.

빠른 설치

Claude Code

추천
기본
npx skills add majiayu000/claude-skill-registry
플러그인 명령대체
/plugin add https://github.com/majiayu000/claude-skill-registry
Git 클론대체
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/compatibility-testing

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Compatibility Testing

<default_to_action> When validating cross-browser/platform compatibility:

  1. DEFINE browser matrix (cover 95%+ of users)
  2. TEST responsive breakpoints (mobile, tablet, desktop)
  3. RUN in parallel across browsers/devices
  4. USE cloud services for device coverage (BrowserStack, Sauce Labs)
  5. COMPARE visual screenshots across platforms

Quick Compatibility Checklist:

  • Chrome, Firefox, Safari, Edge (latest + N-1)
  • Mobile Safari (iOS), Mobile Chrome (Android)
  • Screen sizes: 320px, 768px, 1920px
  • Test on actual target devices for critical flows

Critical Success Factors:

  • Users access from 100+ browser/device combinations
  • Test where users are, not where you develop
  • Cloud testing reduces 10 hours to 15 minutes </default_to_action>

Quick Reference Card

When to Use

  • Before release
  • After CSS/layout changes
  • Launching in new markets
  • Responsive design validation

Browser Matrix

BrowserVersionsPriority
ChromeLatest, N-1High
FirefoxLatest, N-1High
SafariLatest, N-1High
EdgeLatestMedium
Mobile SafariiOS latestHigh
Mobile ChromeAndroid latestHigh

Screen Breakpoints

CategoryWidth Range
Mobile320px - 480px
Tablet481px - 768px
Desktop769px - 1920px+

Responsive Design Testing

import { test, expect } from '@playwright/test';

const devices = [
  { name: 'iPhone 12', width: 390, height: 844 },
  { name: 'iPad', width: 768, height: 1024 },
  { name: 'Desktop', width: 1920, height: 1080 }
];

for (const device of devices) {
  test(`layout on ${device.name}`, async ({ page }) => {
    await page.setViewportSize({
      width: device.width,
      height: device.height
    });

    await page.goto('https://example.com');

    const nav = await page.locator('nav');
    if (device.width < 768) {
      // Mobile: hamburger menu
      expect(await nav.locator('.hamburger')).toBeVisible();
    } else {
      // Desktop: full menu
      expect(await nav.locator('.menu-items')).toBeVisible();
    }
  });
}

Cross-Browser with Playwright

// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';

export default defineConfig({
  projects: [
    { name: 'chromium', use: { ...devices['Desktop Chrome'] } },
    { name: 'firefox', use: { ...devices['Desktop Firefox'] } },
    { name: 'webkit', use: { ...devices['Desktop Safari'] } },
    { name: 'mobile-chrome', use: { ...devices['Pixel 5'] } },
    { name: 'mobile-safari', use: { ...devices['iPhone 12'] } }
  ]
});

// Run: npx playwright test --project=chromium --project=firefox

Cloud Testing Integration

// BrowserStack configuration
const capabilities = {
  'browserName': 'Chrome',
  'browser_version': '118.0',
  'os': 'Windows',
  'os_version': '11',
  'browserstack.user': process.env.BROWSERSTACK_USER,
  'browserstack.key': process.env.BROWSERSTACK_KEY
};

// Parallel execution across devices
const deviceMatrix = [
  { os: 'Windows', browser: 'Chrome' },
  { os: 'OS X', browser: 'Safari' },
  { os: 'Android', device: 'Samsung Galaxy S24' },
  { os: 'iOS', device: 'iPhone 15' }
];

Agent-Driven Compatibility Testing

// Cross-platform visual comparison
await Task("Compatibility Testing", {
  url: 'https://example.com',
  browsers: ['chrome', 'firefox', 'safari', 'edge'],
  devices: ['desktop', 'tablet', 'mobile'],
  platform: 'browserstack',
  parallel: true
}, "qe-visual-tester");

// Returns:
// {
//   combinations: 12,  // 4 browsers × 3 devices
//   passed: 11,
//   differences: [{ browser: 'safari', device: 'mobile', diff: 0.02 }]
// }

Agent Coordination Hints

Memory Namespace

aqe/compatibility-testing/
├── browser-matrix/*     - Browser/version configurations
├── device-matrix/*      - Device configurations
├── visual-diffs/*       - Cross-browser visual differences
└── reports/*            - Compatibility reports

Fleet Coordination

const compatFleet = await FleetManager.coordinate({
  strategy: 'compatibility-testing',
  agents: [
    'qe-visual-tester',       // Visual comparison
    'qe-test-executor',       // Cross-browser execution
    'qe-performance-tester'   // Performance by platform
  ],
  topology: 'parallel'
});

Related Skills


Remember

Test where users are, not where you develop. Developers use latest Chrome on high-end machines. Users access from older browsers, low-end devices, and slow networks.

Cover 95%+ of your user base. Use analytics to identify actual browser/device usage. Don't waste time on browsers nobody uses.

With Agents: Agents orchestrate parallel cross-browser testing across cloud platforms, reducing 10 hours of manual testing to 15 minutes. qe-visual-tester catches visual inconsistencies across platforms automatically.

GitHub 저장소

majiayu000/claude-skill-registry
경로: skills/compatibility-testing

연관 스킬

testability-scoring

기타

This skill provides AI-powered testability assessment for web applications using Playwright and optional Vibium integration. It evaluates applications against 10 intrinsic testability principles like Observability and Controllability to identify improvement areas. Use it when assessing software testability, evaluating test readiness, or generating testability reports.

스킬 보기

compatibility-testing

기타

This skill performs automated cross-browser, cross-platform, and cross-device compatibility testing to ensure consistent user experiences. It validates browser support, tests responsive designs across breakpoints, and runs parallel tests using cloud services. Use it when you need to verify compatibility across a defined matrix covering the majority of your user base.

스킬 보기

visual-testing-advanced

기타

This Claude Skill performs advanced visual regression testing with pixel-perfect comparisons and AI-powered diff analysis. It validates responsive designs and ensures cross-browser visual consistency, making it ideal for detecting UI regressions. Developers should use it when needing to validate designs or maintain visual quality across releases.

스킬 보기

Playwright Browser Automation

테스팅

This skill enables automated browser testing using Playwright, automatically detecting dev servers and generating clean test scripts. It handles common testing tasks like form filling, screenshot capture, responsive design checks, and login flow validation. Use it when you need to automate web interactions, test website functionality, or perform end-to-end browser testing.

스킬 보기