We are getting this error when recording a UI test. At this point the recorder stops recording code. What does it mean?
Xcode UI Testing - Timestamped Event Matching Error
Asked Answered
Simples answer to your question is that it doens't find the item you clicked in. How to fix this, it's what I'm search for as well. –
Keeshakeeshond
Xcode 8 still exists, I think it's a bug –
Tribunate
This work for me: #36617391 –
Safeconduct
What this means is that when you click on an item, Xcode can't figure what element it was. Not sure if it's a bug or not.
In my case I was clicking on a table view cell, and was getting this. The way I got around it was adding these lines:
let cells = app.tables.cells
cells.elementBoundByIndex(0).tap()
Get the reference of the table cells, and for the tap yourself on the view. Of course this is a case by case solution, but it should help you carry on.
Try adding your storyboard to the UI tests target membership.
Click the storyboard, then on the right click file inspector, then scroll down to target membership and click UI tests.
My solution to my first UI Tests in Xcode 9, thanks! –
Tick
This did not help me. –
Unsnap
© 2022 - 2024 — McMap. All rights reserved.