mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-06 04:58:23 +00:00
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>
1.1 KiB
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:
0clean_state1auth2install_old3update_all4post_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) forUpdate Allvalidation. - Reports are written to
test/runs/.