Testing if an element is visible with Xcode 7 UITest

后端 未结 6 1385
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-03 10:19

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.

6条回答
  •  醉酒成梦
    2020-12-03 10:40

    As of Xcode 7.1 Beta 3, UI Testing does not currently support validating the visibility of an element. I suggest filing a radar to bring the necessary attention to Apple.

    Xcode 7.1 has fixed this issue. hittable now checks to see if the element is correct.

提交回复
热议问题