mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-29 04:32:57 +00:00
Wide native tooltips followed the desktop hover policy, and native tab chips disabled their long-press menu. Enable the existing touch actions while keeping tab navigation on completed press so horizontal scrolling does not select a tab. Keep URL-opening links from leaving a tooltip over the app on return. Co-authored-by: Jichen <zhangjichen@oppentech.com>
18 lines
617 B
Plaintext
18 lines
617 B
Plaintext
context platform=android timeout=60000 retries=0
|
|
env APP_ID=sh.paseo.debug
|
|
|
|
open "${APP_ID}"
|
|
wait "id=\"workspace-tabs-scroll\"" 20000
|
|
gesture pan 900 155 550 0 280
|
|
press "id=\"workspace-tab-draft_${DRAFT_ID}\""
|
|
wait "id=\"composer-import-agent-pill\"" 10000
|
|
gesture pan 770 155 -310 0 280
|
|
is visible "id=\"composer-import-agent-pill\""
|
|
gesture pan 900 155 550 0 280
|
|
longpress "id=\"workspace-tab-agent_${AGENT_ID}\"" 900
|
|
wait "id=\"workspace-tab-context-${TAB_ID}-copy-agent-id\"" 10000
|
|
press "label=\"Menu backdrop\""
|
|
press "id=\"workspace-tab-agent_${OTHER_AGENT_ID}\""
|
|
wait "id=\"agent-chat-scroll\"" 10000
|
|
close
|