docs/testing.md
Make sure you've copied .env.example to .env.test and provided any required
values.
Install dependencies in /dev-env
cd dev-env && pnpm i
/.maestro/flows/ directory by creating a new .yml file or by modifying an existing one.maestro studio command to start recording your actions.You will need to allow your device access to the port that the mock server is running on.
adb reverse tcp:3000 tcp:3000
pnpm e2e:mock-serverpnpm e2e:buildpnpm e2e:run __e2e__pnpm perf:measure which will run a live preview of the performance test results. You can see a demo herepnpm perf:test:measure will run the scroll.yaml test located in __e2e__/maestro/scroll.yaml and give the results in .perf/results.json which can be viewed by running pnpm perf:resultspnpm perf:test <path_to_test> where <path_to_test> is the path to your test file. For example, pnpm perf:test __e2e__/maestro/scroll.yaml will run the scroll.yaml test located in __e2e__/maestro/scroll.yaml.