mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
497a54deb7
* test: add benchmark .ad scripts for iOS and Android (02-06) Add 10 new replay scripts covering deep navigation, scroll discovery, text input & keyboard, app lifecycle, and swipe gestures for both iOS simulator and Android emulator. Each script combines multiple command types (snapshot, click, wait, is, find, get, scroll, scrollintoview, swipe, back, home, keyboard, screenshot, appstate) to provide comprehensive baseline coverage for version-over-version comparison. https://claude.ai/code/session_01VkHLzVc7NULQFaWHnhuBCm * test: move replay benchmarks out of CI suite * test: trim replay benchmark script comments * test: relaunch replay app opens * fix: stop focusing iOS simulator for screenshots * fix: open Simulator app on cold boot * test: trim iOS cold boot coverage * test: move replay benchmarks into integration suites * ci: align Android emulator with local setup * ci: raise iOS replay daemon timeout * test: add replay junit reports * ci: use supported Android emulator profile * fix: stabilize replay cleanup and Android CI flows * test: trim flaky replay coverage * fix: exclude replay tests from daemon request timeout * test: relax android scroll discovery replay * refactor: rename ios simulator app opener * ci: remove obsolete android replay timeout override * test: remove duplicate android replay opens * test: relax ios swipe replay assertion * ci: move full replay suites to nightly * ci: extract shared replay workflow setup * ci: fail nightly replay jobs on test errors --------- Co-authored-by: Claude <noreply@anthropic.com>
26 lines
479 B
Plaintext
26 lines
479 B
Plaintext
# Swipe gestures.
|
|
context platform=android
|
|
|
|
open settings --relaunch
|
|
snapshot -i
|
|
find text "Search" exists
|
|
|
|
swipe 206 700 206 250 300
|
|
wait 500
|
|
snapshot -i
|
|
|
|
swipe 206 650 206 300 300 --count 2 --pause-ms 200 --pattern one-way
|
|
wait 500
|
|
snapshot -i
|
|
|
|
scroll up 0.6
|
|
wait 500
|
|
snapshot -i
|
|
find text "Search" exists
|
|
screenshot "./test/screenshots/replays/android-swipe-before-back.png"
|
|
|
|
scroll down 2
|
|
wait 500
|
|
snapshot -i
|
|
screenshot "./test/screenshots/replays/android-swipe-scroll.png"
|