Post

Replies

Boosts

Views

Activity

XCTest tvOS UI testing: focus on element without navigation
For iOS, it can send tap() event to an element, that means it doesn't need to explicitly navigate the UI to focus on the element first. Based on the document "Available in iOS and for Touch Bar interactions in macOS.", such events (like tap, click) don't support for tvOS , seems like for tvOS XCTest, I have to explicitly navigate the UI to locate the element first, and then send remote event like "select()" to trigger the click event. Anyone know is this the only way for tvOS?
0
0
478
Nov ’23