Last active
July 9, 2018 12:02
-
-
Save KaneCheshire/4ab682d9207ff54648b61c7221b16c91 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
// PhotosContext.swift | |
protocol PhotosContext {} | |
extension PhotosContext where Self: LoginContext { | |
func navigateToPhotos() { | |
logIn() | |
selectPhotosButton() | |
seePhotosScreen() | |
} | |
private func selectPhotosButton() { | |
// Select photos button code | |
} | |
private func seePhotosScreen() { | |
// Assert photos screen is visible | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment