# screen: compose-lab
# Shared compose components: popover host text, editor, mention suggestions, emoji picker.
expect-text Compose lab
expect-text Add emoji
tap 215 240
type hi @
wait 0.3
expect-text null_void
shot docs/parity/shots/compose/mentions.png
tap-text null_void
wait 0.2
expect-no-text Close suggestions
tap-text Add emoji
wait 0.6
expect-text Search Emoji
tap 40 160
wait 0.3
expect-no-text Search Emoji
# Create post presented as a full screen sheet: submit flow closes it again.
tap-text New post
wait 0.6
expect-text Create New Post
tap 215 129
type Sheet flow
tap 215 270
type A body that is long enough to submit
tap-text Create
wait 2
expect-no-text Create New Post
expect-text Compose lab
tap-text New post
wait 0.6
expect-text Create New Post
tap-text Close
wait 0.6
expect-no-text Create New Post