Created
June 24, 2021 20:32
-
-
Save aataraxiaa/9b09789ed90e5fea3e97ebfdedb0a1ad to your computer and use it in GitHub Desktop.
This file contains 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
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