Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 974 Bytes

File metadata and controls

28 lines (18 loc) · 974 Bytes

Run UI tests and take screenshots of Crisis Cleanup mobile app across all open devices

Setup

  1. Install Maestro.
  2. Start emulators, simulators, devices. Be sure computer has permissions to devices and devices on and pass the lock screen.
  3. Install apps on the devices.
  4. Run tests.

Maestro overview

Flow file structure

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