Run UI tests and take screenshots of Crisis Cleanup mobile app across all open devices
- Install Maestro.
- Start emulators, simulators, devices. Be sure computer has permissions to devices and devices on and pass the lock screen.
- Install apps on the devices.
- Run tests.
Target app
MAESTRO_APP_ID=com.crisiscleanup.demo maestro test auth-tests
Specify device
maestro --device emulator-5554 test auth-tests
List devices
- Android
adb devices
- iOS
xcrun simctl list devices booted
(only simulators are supported at the moment, devices will fail)
Full test command
- Android
MAESTRO_APP_ID=com.crisiscleanup.demo.debug maestro --device emulator-5554 test auth-tests
- iOS
MAESTRO_APP_ID=com.crisiscleanup.dev maestro --device device-uuid-from-list test auth-tests