Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with KIF when view controller created via -[initWithNibName:bundle:] #935

Closed
kenmhaggerty opened this issue Jan 4, 2017 · 1 comment

Comments

@kenmhaggerty
Copy link

kenmhaggerty commented Jan 4, 2017

Full details listed on Stack Overflow (http://stackoverflow.com/questions/41454530/kifuitestactor-waitforviewwithaccessibilitylabel-not-working-if-initwithni), but summary is that -[KIFUITestActor waitForViewWithAccessibilityLabel:] works only if the view controller being tested was obtained via [[UIStoryboard storyboardWithName:bundle:] instantiateInitialViewController] and not [[UIViewController alloc] initWithNibName:bundle:].

Please let me know what other details I can provide as I'm not really sure what's going on here to cause this issue and it may very well be something I am doing incorrectly as I've managed to use KIF successfully in the past.

@phatmann
Copy link
Contributor

Is the same view controller in a XIB file and a storyboard file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants