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 && yarn
/.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
yarn e2e:mock-serveryarn e2e:buildyarn e2e:runyarn perf:measure which will run a live preview of the performance test results. You can see a demo hereyarn 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 yarn:perf:resultsyarn perf:test <path_to_test> where <path_to_test> is the path to your test file. For example, yarn perf:test __e2e__/maestro/scroll.yaml will run the scroll.yaml test located in __e2e__/maestro/scroll.yaml.