Skip to content

Instantly share code, notes, and snippets.

@KaneCheshire
Created July 8, 2018 19:28
Show Gist options
  • Save KaneCheshire/04571698a3a20a74e1ca921883001ae3 to your computer and use it in GitHub Desktop.
Save KaneCheshire/04571698a3a20a74e1ca921883001ae3 to your computer and use it in GitHub Desktop.
func test_settings() {
Scenario("Logging in and navigating to settings") {
Given(I: logIn)
When(I: selectTabBar(tab: .settings))
Then(I: seeSettingsScreen)
}
Scenario("Selecting support") {
Given(I: seeSettingsScreen)
When(I: selectSupportCell)
Then(I: seeSupportOptions)
}
Scenario("Selecting email support") {
Given(I: seeSupportOptions)
When(I: selectEmailSupportCell)
Then(I: seeTheEmailComposer)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment