rn-visual-testing

Automate visual testing of React Native apps across iPhone 11–17 simulators.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/johanruttens/paddle-battle --skill rn-visual-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rn-visual-testing
Source: https://github.com/johanruttens/paddle-battle/tree/main/.claude/skills/rn-visual-testing
Command: npx skills add https://github.com/johanruttens/paddle-battle --skill rn-visual-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Visual testing for React Native apps across iPhone 11–17 families, ensuring layouts render correctly on different screen sizes, safe areas, notches, and Dynamic Island.

Core Features & Use Cases

  • iPhone screen reference and dim tests
  • Automated screenshot capture workflows
  • Simulator configuration and baseline validation
  • Safe area and notch/Dynamic Island compatibility checks
  • Optional Detox/React Native Owl workflows for E2E visuals

Quick Start

Begin by configuring simulators and capturing baseline screenshots for selected devices, e.g., 'setup and capture iPhone 14 and iPhone 16 Pro screenshots.'

Frequently Asked Questions about rn-visual-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test React Native app layouts across different iPhone screen sizes?

Visual testing for React Native automates screenshot capture and verification across iPhone 11–17 families, including Pro, Pro Max, Plus, Mini, Air, and SE models. It validates that layouts render correctly at each device's logical dimensions and resolutions, ensuring pixel-perfect consistency without manual testing on each simulator.

Can I automate safe area and notch testing for React Native apps?

Yes. Automated visual testing handles safe-area insets validation and notch/Dynamic Island compatibility checks across all iPhone variants. It captures screenshots that verify layouts adapt correctly to these constraints, eliminating manual verification across device families.

What's the best way to set up baseline screenshots for iPhone simulators?

Configure simulators for your target devices, then capture baseline screenshots for each iPhone model in your test matrix. The Skill automates simulator lifecycle management and screenshot workflows, storing baselines for pixel-perfect comparison in subsequent test runs.

Does visual testing for React Native work with Detox and React Native Owl?

Yes. The Skill integrates with end-to-end tools like Detox and React Native Owl for baseline comparison workflows. This enables visual regression detection alongside functional E2E testing in a unified pipeline.

How do I verify status bar consistency across iPhone orientations?

Automated visual testing captures and compares screenshots in both portrait and landscape orientations, validating status bar rendering and layout consistency. It ensures your app adapts correctly across all orientations and device sizes without manual checks.

What happens if my React Native layout breaks on a specific iPhone size?

Visual testing detects layout failures by comparing captured screenshots against stored baselines. Pixel-perfect verification across all logical sizes and resolutions identifies rendering inconsistencies, notch misalignment, or safe-area handling issues early in development.