Automatic Accessibility Audits on previews part 1 (#4322)

* setup target

* accessibility tests implementation

* removed ipad check

* pr improvements

* updated project
This commit is contained in:
Mauro
2025-07-15 14:40:16 +02:00
committed by GitHub
parent 74952659e8
commit c1b94a2d9f
18 changed files with 951 additions and 8 deletions
@@ -29,6 +29,16 @@ enum UITestsSignal: Codable, Equatable {
/// Posts a notification.
case notification(name: Notification.Name)
case accessibilityAudit(AccessibilityAudit)
enum AccessibilityAudit: Codable, Equatable {
/// Ask the app for the next preview.
case nextPreview
/// Tell the test runner about a loaded preview.
case nextPreviewReady(name: String)
/// Tell the test runner that there are no more previews.
case noMorePreviews
}
}
enum UITestsSignalError: String, LocalizedError {