In the My Xcode UI test code, this error occurs when the test runs on a 12.9-inch iPad Pro. There is no error for all iPhone and iPad Retina models.
Confirmation error: EasyTVUITests.m: 81: UI testing error - invalid hit point (-1.0, -1.3) is calculated for cell 0x600000377dc0: traits: 8589934592, {{411.0, -1373.0}, {813.3, 106.3}}
Invalid verification code line:
[[app.tables[@"programs"].cells elementBoundByIndex:17] tap];
What does the error actually mean and how to debug it?
Here is the full mileage before the error:
Tap cell
Wait for app to idle
Find the Cell
Snapshot accessibility hierarchy for com.[hidden]
Find: Descendants matching type Table
Find: Elements matching predicate '"programs" IN identifiers'
Find: Descendants matching type Cell
Find: Element at index 17
Wait for app to idle
Synthesise event
Assertion Failure: EasyTVUITests.m:81: UI Testing Failure - Computed invalid hit point (-1.0, -1.3) for Cell 0x600000377dc0: traits: 8589934592, {{411.0, -1373.0}, {813.3, 106.3}}
That index 17 is not important - I'm just trying to select a random cell. I tried a different index, but that didn't make any difference.
Visually, the iPad Pro version does not look βwrongβ or differs from the iPad retina version.
Xcode 8.1, iPad iOS 10.1.