Created
November 5, 2017 16:46
-
-
Save olbrichj/8099f53d2e8035bd2bc9e5c3c7a94af1 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
func testMonkey() { | |
let application = XCUIApplication(bundleIdentifier: "de.olbrich.jan.SnapshotTesting") | |
_ = application.descendants(matching: .any).element(boundBy: 0).frame | |
let monkey = Monkey(frame: application.frame) | |
monkey.addDefaultUIAutomationActions() | |
monkey.addXCTestTapAlertAction(interval: 100, application: application) | |
monkey.monkeyAround() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment