/RNCLIMaestroSandbox

A simple "Hello World" React Native app for trying out testing with Maestro.

Primary LanguageJava

RN CLI Maestro Sandbox

A simple "Hello World" React Native app for trying out testing with Maestro.

As of time of writing, Maestro is not succeeding on GitHub Actions.

Requirements

Installation

  • Clone the repo
  • Run yarn install
  • Run cd ios && pod install

Dependencies are locked with yarn.lock; please use yarn rather than npm for installing.

Running

  • In one terminal, run yarn start
  • In another terminal, run yarn android or yarn ios

E2E Tests

Maestro

  • First build and run the iOS app on a simulator
  • Run maestro test ./maestro/smoke-test.yml

Detox

  • Run detox build -c ios.sim.debug (only needs to be run once per native code changes)
  • Run detox test -c ios.sim.debug

License

MIT