Check a page for accessibility
Review supplied markup or descriptions for practical accessibility issues and fixes.
4,561,449 AI resources indexedWorking toward the world’s largest AI resource index.
Generate XCTest UI tests for macOS applications with accessibility identifiers and page object patterns
---
name: xctest-ui-test-generator
description: Generate XCTest UI tests for macOS applications with accessibility identifiers and page object patterns
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
tags: [macos, xctest, uitesting, swift, testing]
graph:
domains: [domain:software-engineering]
specializations: [specialization:desktop-development]
skillAreas: [skill-area:desktop-ui-frameworks, skill-area:component-testing]
roles: [role:desktop-developer, role:fullstack-engineer]
workflows: [workflow:feature-development, workflow:release-management]
topics: [topic:accessibility]
---
# xctest-ui-test-generator
Generate XCTest UI tests for macOS applications. This skill creates UI test classes with accessibility identifiers, page object patterns, and proper test organization.
## Capabilities
- Generate XCUITest test classes
- Create page object pattern implementations
- Set up accessibility identifiers
- Generate test data factories
- Configure UI test schemes
- Create screenshot capture helpers
- Set up performance testing
- Generate test plans
## Input Schema
```json
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"targetViews": { "type": "array" },
"usePageObjects": { "type": "boolean", "default": true },
"generateAccessibilityIds": { "type": "boolean", "default": true }
},
"required": ["projectPath"]
}
```
## Generated Test Class
```swift
import XCTest
final class MainViewUITests: XCTestCase {
var app: XCUIApplication!
override func setUpWithError() throws {
continueAfterFailure = false
app = XCUIApplication()
app.launchArguments = ["--uitesting"]
app.launch()
}
func testMainViewLoads() throws {
let mainView = app.windows["MainWindow"]
XCTAssertTrue(mainView.waitForExistence(timeout: 5))
let titleLabel = mainView.staticTexts["welcomeLabel"]
XCTAssertTrue(titleLabel.exists)
XCTAssertEqual(titleLabel.label, "Welcome")
}
func testNavigationToSettings() throws {
app.menuItems["Preferences…"].click()
let settingsWindow = app.windows["SettingsWindow"]
XCTAssertTrue(settingsWindow.waitForExistence(timeout: 2))
}
}
```
## Related Skills
- `swiftui-view-generator`
- `desktop-ui-testing` process
---
name: xctest-ui-test-generator
description: Generate XCTest UI tests for macOS applications with accessibility identifiers and page object patterns
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
tags: [macos, xctest, uitesting, swift, testing]
graph:
domains: [domain:software-engineering]
specializations: [specialization:desktop-development]
skillAreas: [skill-area:desktop-ui-frameworks, skill-area:component-testing]
roles: [role:desktop-developer, role:fullstack-engineer]
workflows: [workflow:feature-development, workflow:release-management]
topics: [topic:accessibility]
---
# xctest-ui-test-generator
Generate XCTest UI tests for macOS applications. This skill creates UI test classes with accessibility identifiers, page object patterns, and proper test organization.
## Capabilities
- Generate XCUITest test classes
- Create page object pattern implementations
- Set up accessibility identifiers
- Generate test data factories
- Configure UI test schemes
- Create screenshot capture helpers
- Set up performance testing
- Generate test plans
## Input Schema
```json
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"targetViews": { "type": "array" },
"usePageObjects": { "type": "boolean", "default": true },
"generateAccessibilityIds": { "type": "boolean", "default": true }
},
"required": ["projectPath"]
}
```
## Generated Test Class
```swift
import XCTest
final class MainViewUITests: XCTestCase {
var app: XCUIApplication!
override func setUpWithError() throws {
continueAfterFailure = false
app = XCUIApplication()
app.launchArguments = ["--uitesting"]
app.launch()
}
func testMainViewLoads() throws {
let mainView = app.windows["MainWindow"]
XCTAssertTrue(mainView.waitForExistence(timeout: 5))
let titleLabel = mainView.staticTexts["welcomeLabel"]
XCTAssertTrue(titleLabel.exists)
XCTAssertEqual(titleLabel.label, "Welcome")
}
func testNavigationToSettings() throws {
app.menuItems["Preferences…"].click()
let settingsWindow = app.windows["SettingsWindow"]
XCTAssertTrue(settingsWindow.waitForExistence(timeout: 2))
}
}
```
## Related Skills
- `swiftui-view-generator`
- `desktop-ui-testing` process
Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.