Created
January 2, 2019 21:09
-
-
Save thecb4/27fd5ce4ec6910ea9790fe716a78536d to your computer and use it in GitHub Desktop.
Protocol for User Behavior in UITest
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
protocol UserBehavior: class { | |
static var user: UserBehavior { get } | |
func launch() | |
func login() | |
func swipeToShowSearch() | |
func search(for text: String) | |
func select(_ text: String) | |
func wait(_ timeout: TimeInterval, for states: ApplicationState…) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment