axiom-ui-testing

Replace arbitrary waits with condition-based waiting in Xcode UI tests.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/pradeepmouli/swift-template --skill axiom-ui-testing-pradeepmouli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-ui-testing
Source: https://github.com/pradeepmouli/swift-template/tree/main/.agents/skills/axiom-ui-testing
Command: npx skills add https://github.com/pradeepmouli/swift-template --skill axiom-ui-testing-pradeepmouli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wait for conditions, not arbitrary timeouts. Core principle: flaky tests come from guessing how long operations take, so condition-based waiting eliminates race conditions. NEW in WWDC 2025: Recording UI Automation allows you to record interactions, replay across devices/languages, and review video recordings of test runs.

Core Features & Use Cases

  • Condition-based waiting to replace sleeps and arbitrary delays
  • Recording UI automation sessions and replay across devices
  • Multi-factor testing across device sizes, OS versions, and network conditions
  • Accessibility-first testing patterns and robust debugging workflows
  • Video reviews and overlays to diagnose failures

Quick Start

Run a UI test with recording enabled to capture interactions and convert them into reusable XCUI test steps.

Frequently Asked Questions about axiom-ui-testing

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

FAQPage Schema
How do I fix flaky Xcode UI tests caused by arbitrary sleep waits?

Flaky Xcode UI tests are fixed by replacing arbitrary sleep waits with condition-based waiting using waitForExistence. This eliminates race conditions by waiting for UI elements to appear rather than guessing operation durations.

What is recording-driven UI automation in Xcode 26?

Recording-driven UI automation in Xcode 26 captures user interactions during a test session and converts them into reusable XCUI test steps. Recorded sessions can be replayed across different devices and languages.

How do I run UI tests across multiple iOS and macOS device configurations?

You can run UI tests across multiple iOS and macOS device configurations using test plans. These support multi-configuration testing across device sizes, OS versions, and network conditions for comprehensive coverage.

Does Xcode UI testing support accessibility-focused test patterns?

Yes, Xcode UI testing supports accessibility-focused patterns by using accessibility identifiers. This best practice ensures UI elements are located reliably during tests and improves robust debugging workflows.

Can I review video recordings of my Xcode UI test runs?

Yes, you can review video recordings of Xcode UI test runs. Video reviews with overlays allow you to diagnose test failures by visually inspecting the automated interactions across different devices.

What is the best way to integrate UI tests into a CI pipeline?

The best way to integrate UI tests into a CI pipeline is by combining condition-based waiting with multi-device test plans. This ensures test reliability and validates application behavior across configurations automatically.