Xcuitest
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
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
@MainActortest class patterns, asyncsetUpandtearDown, andnonisolatedguidance - 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 -yInstalls 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 12Similar to Xcuitest
More Testing & QAswift-testingSkillprisma-labs-dev/apple-skills767 installsSwift Testing reference covering @Test, @Suite, #expect, #require, traits, and XCTest migration for iOS 26+.
iOS SimulatorMCP serverjoshuayoes2.2K starsGive the iOS Simulator tap, type, swipe, and screenshot control, plus accessibility-tree inspection and app management.
axiom-ui-testingSkillcharleswiltgen/axiom199 installsXCTest UI testing skill for recording interactions and eliminating flaky, timing-dependent test failures.
Mobile McpMCP servermobile-next11K starsAutomates iOS and Android simulators, emulators, and real devices through accessibility trees and screenshots.
swift-testing-proSkilltwostraws/swift-testing-agent-skill11.2K installsSwift Testing review and writing guide covering conventions, async tests, new features, and XCTest migration.