Last active
June 26, 2021 12:09
-
-
Save aataraxiaa/ed91ab6b6dfd133c8c173bc999e52c58 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
import XCTest | |
enum ShowBugPage { | |
enum Identifiers { | |
static let showBugButton = "Show me a bug" | |
static let showBugAlertMessage = "This is a bug 🐛" | |
static let showBugAlertOkButton = "Ok" | |
} | |
enum Buttons { | |
static let showBugButton = app.buttons[Identifiers.showBugButton] | |
static let okButton = app.buttons[Identifiers.showBugAlertOkButton] | |
} | |
enum Alerts { | |
static let showBugAlertMessage = app.staticTexts[Identifiers.showBugAlertMessage] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment