I want to verify if an element is visible or not depending on its .hidden property but I don\'t find a valid way to do that using the new Xcode 7 UI test stuff.
.hidden
Next code worked for me. At the end of the test you can past code as follow:
while ([app.staticTexts matchingIdentifier:@"accesibilityId"].count > 0) { sleep(1); }