-
-
Save ryanlucas/5bcfdc49bb2acbf154035c6687c275b4 to your computer and use it in GitHub Desktop.
# Test parallel spec.
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
# Test parallel spec. | |
Search Inactive | |
touch search bar -> Search Active | |
Search Active& | |
touch cancel -> Search Inactive | |
touch result -> View Result | |
Input Focus | |
Input Focused | |
touch keyboard search button -> Input Unfocused | |
scroll -> Input Unfocused | |
text input -> Loading | |
Input Unfocused | |
touch input -> Input Focused | |
Results | |
touch keyboard search button -> Loading | |
Loading | |
Found Results? | |
results found -> Show Results | |
no results found -> No Results | |
no search string -> Suggested Results | |
still waiting -> Found Results? | |
time out -> Network Error | |
# Before the user types anything, let's offer some suggested results | |
# Maybe based on their location or past search history? | |
Suggested Results | |
# Once we have at least one autocomplete match, we can display results | |
Show Results | |
# Notify user if no results found | |
No Results | |
# If the network is unavailable, need to tell user and provide for retry | |
Network Error | |
touch retry -> Loading | |
View Result |
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
function render(model){ | |
return $("h1", JSON.stringify(model.active_states.map(s => s.name))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment