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.
I've tried with myelement.exists
and myelement.hittable
but they doesn't seems to work as I expected. I suppose they work on conjunction with the hidden
property. An hidden element shouldn't exists and is not hittable... but this is not the current behaviour (I can understand the exists
behaviour... but a hidden element should be not hittable IMO).
Is there another way to verify the "hidden" property value?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…