Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

xcuitest

БесплатноБез исполняемых скриптовНе проверен

API reference: XCUITest. Query for element queries, waiting patterns, Swift 6 @MainActor, assertions, screenshots, launch arguments.

Prisma-Labs-Devот Prisma-Labs-Dev★ 361 звезда на GitHub

Об этом скилле

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):

File Content
element-queries.md Core API classes: XCUIApplication, XCUIElement, XCUIElementQuery, XCUICoordinate
interactions.md Taps, presses, text input, swipes, coordinate-based and other gestures
waiting.md waitForExistence, XCTWaiter, non-existence, property waits, Xcode 26 KeyPath waits
swift6-concurrency.md Swift 6 strict concurrency: @MainActor test classes, async setUp/tearDown, nonisolated
assertions.md XCTAssert patterns, custom messages, existence checks
screenshots.md Screenshots, XCTAttachment, screenshot-on-failure, extracting from .xcresult
launch-arguments.md Launch arguments/environment, UserDefaults override, localization and accessibility testing
permissions.md resetAuthorizationStatus, XCUIProtectedResource, interruption monitors, springboard/system alerts
test-helpers.md Page Object Model, reusable helpers, timeout constants
troubleshooting.md Common failures (element not found, flaky tests) and what's new in Xcode 26 / iOS 26
patterns.md Advanced patterns: base test class, system dialogs, scroll/wait, debugging, test organization

Downloaded Reference Files

Apple documentation pages available locally:

File Content
xctest-index.md Full XCTest framework index
xcuiautomation-index.md Full XCUIAutomation framework index
xcuiapplication.md XCUIApplication class
xcuielement.md XCUIElement class
xcuielementquery.md XCUIElementQuery class
xcuicoordinate.md XCUICoordinate class
xcuiprotectedresource.md XCUIProtectedResource enum
xcuiscreenshot.md XCUIScreenshot class

Sources

Apple Documentation

WWDC Sessions

Community Resources

Fetching More Apple Docs

  1. Search this skill's local .md files first.
  2. If the topic is not here, check the other installed Apple skills you have available by their names, d
Полный SKILL.md на GitHub

Установить xcuitest в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assertions.mdelement-queries.mdinteractions.mdlaunch-arguments.mdpatterns.mdpermissions.mdscreenshots.mdswift6-concurrency.mdtest-helpers.mdtroubleshooting.mdwaiting.mdxctest-index.mdxcuiapplication.mdxcuiautomation-index.mdxcuicoordinate.mdxcuielement.mdxcuielementquery.mdxcuiprotectedresource.mdxcuiscreenshot.md

FAQ

Что делает скилл xcuitest?

API reference: XCUITest. Query for element queries, waiting patterns, Swift 6 @MainActor, assertions, screenshots, launch arguments.

Как установить скилл xcuitest?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл xcuitest запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить xcuitest с