Repos
Plain text
1011 B46 lines Opens in site
Directory
Raw
Download
# screen: create-post
# Create post: chrome, counters, typing, validation, poll toggle, attachment dialog, topic picker.
expect-text Create New Post
expect-text Topic
expect-text Random
expect-text 0/500
expect-text 0/125,000
expect-text Add Attachment
expect-text Add Poll
tap 215 129
type Hello title
expect-text 11/500
tap 215 270
type short
expect-text 5/125,000
type _and_now_long_enough
expect-text 25/125,000
tap-text Add Poll
expect-text Remove Poll
expect-text Poll question
expect-text Option 1
expect-text Option 2
expect-text Add option
tap-text Add option
expect-text Option 3
tap-text Remove Poll
expect-no-text Option 1
tap-text Add Attachment
wait 0.5
expect-text Photo Library
expect-text From URL
tap-text From URL
wait 0.3
expect-text Add from URL
expect-text Enter the URL of the file to attach.
type https://example.com/cat.png
tap-text Add
wait 1.5
expect-text cat.png
shot /tmp/compose-create-post.png
tap-text Random
wait 0.3
expect-text Politics
tap-text Rant
wait 0.3
expect-text Rant