-
Notifications
You must be signed in to change notification settings - Fork 805
Open
Description
There's a find(viewWithId:) function, but as I already set the accessibilityIdentifier property on all views for UI testing, I needed a new find function. I implemented this as a shortcut:
extension InspectableView {
func find(_ id: String) throws -> InspectableView<ViewType.ClassifiedView> {
try find { try $0.accessibilityIdentifier() == id }
}
}
Would be nice to see something like this integrated into the standard package as probably everyone doing UI testing already has those identifiers set.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels