Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Zero-size elements don't count as absent #159

percysnoodle opened this Issue Oct 22, 2012 · 2 comments


None yet
3 participants

percysnoodle commented Oct 22, 2012

I'm trying to test that one of my controllers has hidesBackButton set on its navigationItem using stepToWaitForAbsenceOfViewWithAccessibilityLabel. However, even though hidesBackButton is correctly set and so the back button isn't shown, stepToWaitForAbsenceOfViewWithAccessibilityLabel regards it as present. This seems to be because the navigation bar doesn't remove or hide it, but instead sets its frame to (0 0; 0 0).

I'm happy to write a patch but is there some particular reason why zero-size elements are counted as present?


bnickel commented Sep 11, 2013

How does VoiceOver respond to these elements?

@ghost ghost assigned bnickel Sep 11, 2013


phatmann commented Apr 9, 2014

Closing all KIF 1 issues as it will no longer be maintained.

@phatmann phatmann closed this Apr 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment