Skip to content
Repos

DevPlaceApp

Plain text 1.1 KB44 lines Opens in site

Directory Raw Download

# screen: feed
# Feed: cards, footer actions, reply composer open and cancel, delete confirmation, open a post.
wait 1.0
expect-text Posts
expect-text New post
expect-text How we cut our cold launch time by 60%
expect-text DEVLOG
expect-text Reply to post
expect-text Delete post
expect-text Add reaction
# reply composer on the last card: opens inline and hides the new post button
scroll 200 400 30000
wait 0.3
tap-text Reply to post
wait 0.4
expect-no-text New post
expect-text 125,000
scroll 200 400 5000
wait 0.2
# the reply draft survives cancel (it lives in the settings): type, then remove what was typed
type hi
expect-text /125,000
key backspace
key backspace
tap-text Cancel
wait 0.3
expect-no-text 125,000
expect-text New post
# delete asks first: trash icon of the "Finally deleted" card after scrolling up 400 points
scroll 200 400 -400
wait 0.3
tap 405 547
wait 0.3
expect-text Delete this post?
tap-text Cancel
wait 0.3
expect-no-text Delete this post?
# tapping the card opens the post detail
scroll 200 400 -30000
wait 0.3
tap-text How we cut our cold launch time by 60%
wait 1.0
expect-text Comments
expect-text Comment
37.7ms