Skip to content

Instantly share code, notes, and snippets.

@aataraxiaa
Last active June 26, 2021 12:09
Show Gist options
  • Save aataraxiaa/ed91ab6b6dfd133c8c173bc999e52c58 to your computer and use it in GitHub Desktop.
Save aataraxiaa/ed91ab6b6dfd133c8c173bc999e52c58 to your computer and use it in GitHub Desktop.
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