Files
flutter/integration_test
Roland Geider 9540a1b958 Move screenshot tests to "/test" folder
This allows us to properly generate the needed mocks, and not import them
from random files
2026-06-16 10:29:31 +02:00
..
…

This will generate some screenshots and save them to the Play Store metadata folder.

  1. Start the correct emulator/simulator for the device size you want.
  2. Run, selecting the device size via --dart-define=DEVICE_TYPE:
    flutter drive \
        --driver=test_driver/screenshot_driver.dart \
        --target=integration_test/make_screenshots_test.dart \
        --dart-define=DEVICE_TYPE=androidPhone
    
    For the available device types, consult the DeviceType enum in make_screenshots_test.dart.
  3. If you get errors or the screenshots are not written to disk, edit the languages list and comment some of the languages out.

See also