Skip to content

Instantly share code, notes, and snippets.

@abbeyjackson
Created May 2, 2016 23:30
Show Gist options
  • Save abbeyjackson/055cab576956007518e6b306d76f81cf to your computer and use it in GitHub Desktop.
Save abbeyjackson/055cab576956007518e6b306d76f81cf to your computer and use it in GitHub Desktop.
view not tappable in KIF
let someView = tester().waitForViewWithAccessibilityLabel("Notify Customer")
guard let disabledButton = someView as? UIButton else {
XCTFail("This view should return a button")
return
}
XCTAssertFalse(disabledButton.enabled)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment