Created
October 13, 2015 14:51
-
-
Save macbaszii/56345966309ecf099aa1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let element = app.buttons["Spike!"] | |
| let existsPredicate = NSPredicate(format: "exists == true") | |
| expectationForPredicate(existsPredicate, | |
| evaluatedWithObject: element, handler: nil) | |
| waitForExpectationsWithTimeout(5, handler: nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment