
Xcuitest
This is a comprehensive API reference for writing XCUITest UI tests in Swift 6, covering everything from basic element queries to coordinate-based gestures. You get the full rundown on XCUIApplication lifecycle management, XCUIElement interactions, and proper waiting patterns including the new waitForNonExistence in Xcode 16. The examples are practical and show real patterns like pull-to-refresh gestures, predicate-based queries, and handling @MainActor requirements. It's dense but well-organized, basically the quick reference you'd want open in a split screen while writing tests. No fluff about testing philosophy, just the API calls you need with working Swift snippets.
- skills.sh installs
- 249
- GitHub stars
- 248
- last updated
- Jun 3, 2026
Install
$ npx -y skills add vabole/apple-skills --skill xcuitest --agent claude-codeInstalls into .claude/skills of the current project.
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):
Sponsors
Details
- Repository
- github.com/vabole/apple-skills
- First seen
- Jun 3, 2026