Skip to content

Swift 6 XCUITest reference covering element queries, waits, assertions, screenshots, and launch arguments.

CCM score
36 of 100
skills.sh installs
817
GitHub stars
360
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the XCUITest API: element queries, taps and gestures, waiting, assertions, screenshots, launch arguments, and permissions
  • Includes 11 topic guides plus local Apple class references for XCUIApplication, XCUIElement, XCUIElementQuery, and XCUICoordinate
  • Provides Swift 6 @MainActor test class patterns, async setUp and tearDown, and nonisolated guidance
  • Designed for iOS developers writing reliable UI tests in Xcode 26 who need grep-friendly code examples

Install

$ npx -y skills add prisma-labs-dev/apple-skills --skill xcuitest -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

XCUITest Reference

Comprehensive reference for writing reliable XCUITest UI tests in Swift 6.

Quick Reference

// Basic test structure
@MainActor
final class MyUITests: XCTestCase {
    var app: XCUIApplication!

    override func setUp() {
        super.setUp()
        continueAfterFailure = false
        app = XCUIApplication()
        app.launch()
    }

    func testExample() {
        let button = app.buttons["Submit"]
        XCTAssertTrue(button.waitForExistence(timeout: 5))
        button.tap()
    }
}

Topic Guides

Curated guidance with code examples (grep-friendly):

Details

Repository
github.com/prisma-labs-dev/apple-skills
Categories
Testing & QA, Mobile Apps
First seen
Jun 3, 2026

Questions

What is the xcuitest skill for?

The xcuitest skill is an API reference for writing reliable XCUITest UI tests in Swift 6. It covers element queries, waiting patterns, @MainActor test classes, assertions, screenshots and launch arguments.

How do I install the xcuitest skill?

Run npx -y skills add prisma-labs-dev/apple-skills --skill xcuitest -y in your project. Once installed, the agent can answer XCUITest questions with patterns for Swift 6 concurrency, waits and permissions.

Where does xcuitest stand in the Testing & QA category?

The xcuitest skill is listed in the Testing & QA category on Claude Marketplaces. Other skills in that category include tdd, test-driven-development, webapp-testing and break-ui, but xcuitest focuses on native iOS UI testing.

Does xcuitest work with the other Apple skills?

The skill ships in the apple-skills repository alongside swift-testing and ios-dev, and its SKILL.md points to other installed Apple skills for further documentation. It needs Xcode and an iOS test target to run the tests it helps write.

More from prisma-labs-dev/apple-skills

All 12

Similar to Xcuitest

More Testing & QA