Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aataraxiaa/9b09789ed90e5fea3e97ebfdedb0a1ad to your computer and use it in GitHub Desktop.
Save aataraxiaa/9b09789ed90e5fea3e97ebfdedb0a1ad to your computer and use it in GitHub Desktop.
final class ShowBugTestCase: BaseTestCase {
let showBugRobot = ShowBugRobot()
func testShowBugButtonsDisplaysAlert() {
// When
showBugRobot
.tapShowBugButton()
// Then
showBugRobot
.assertShowBugAlertMessageDisplayed()
}
func testShowBugAlertOkButtonDismissesAlert() {
// When
showBugRobot
.tapShowBugButton()
.tapShowBugAlertOkButton()
// Then
showBugRobot
.assertShowBugAlertMessageNotDisplayed()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment