ente/mobile/scripts/gallery_scroll_perf_test.sh
2024-04-08 13:37:00 +05:30

18 lines
543 B
Bash
Executable file

#!/bin/bash
# Make sure to go through home_gallery_scroll_test.dart and
# fill in email and password.
# Specify destination directory for the perf results in perf_driver.dart.
# Specify the report_key of the test in perf_driver.dart. `report_key`` of
# `traceAction`` in app_init_test.dart.
export ENDPOINT="https://api.ente.io"
flutter drive \
--driver=test_driver/perf_driver.dart \
--target=integration_test/home_gallery_scroll_test.dart \
--dart-define=endpoint=$ENDPOINT \
--profile --flavor independent \
--no-dds
exit $?