mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-31 05:32:58 +00:00
Native hidden overflow capped the measured content at the preview height, so long messages never offered Show more. Use the native scroll layout mode on the existing View to measure full content while preserving clipping, and store only whether it overflows.
15 lines
520 B
Plaintext
15 lines
520 B
Plaintext
context platform=android timeout=60000 retries=0
|
|
env APP_ID=sh.paseo.debug
|
|
|
|
open "${APP_ID}"
|
|
wait "role=\"button\" label=\"Show more\"" 10000
|
|
press "role=\"button\" label=\"Show more\""
|
|
wait "role=\"button\" label=\"Show less\"" 10000
|
|
press "role=\"button\" label=\"Show less\""
|
|
wait "role=\"button\" label=\"Show more\"" 10000
|
|
press "role=\"button\" label=\"Show more\""
|
|
wait "role=\"button\" label=\"Show less\"" 10000
|
|
press "role=\"button\" label=\"Show less\""
|
|
wait "role=\"button\" label=\"Show more\"" 10000
|
|
close
|