Files
zapstore/test/scripts/TEST-003-USAGE.md
T
Henrique VellosoandCursor d056f98d23 stabilize TEST-003 flows and add CLI usage guide
Improve Maestro reliability across Samsung UI states, add stage-based script ergonomics, and document copy-paste commands for device selection and stage execution.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-19 11:33:26 -03:00

1.1 KiB

TEST-003 Script Usage

Script: test/scripts/run-test-003.sh

Quick Start

cd /Users/hvmelo/Developer/codecode/Zapstore/zapstore
adb devices
./test/scripts/run-test-003.sh --device <DEVICE_ID> --apps 2

Device Selection

  • List devices:
adb devices
  • Pass the device with --device:
./test/scripts/run-test-003.sh --device RQCT1029N9J --apps 2

Stage-Based Execution

Stages:

  • 0 clean_state
  • 1 auth
  • 2 install_old
  • 3 update_all
  • 4 post_verify

Run examples:

  • Install old versions + update + verify:
./test/scripts/run-test-003.sh --device RQCT1029N9J --apps 2 --from 2 --to 4
  • Only update-all + post verification (when apps are already prepared):
./test/scripts/run-test-003.sh --device RQCT1029N9J --apps 2 --from 3 --to 4
  • Only old-version install:
./test/scripts/run-test-003.sh --device RQCT1029N9J --apps 2 --from 2 --to 2

Help

./test/scripts/run-test-003.sh --help

Notes

  • The script enforces a minimum of 2 apps (--apps 2) for Update All validation.
  • Reports are written to test/runs/.