Skip to content

Instantly share code, notes, and snippets.

@natanloterio
Created December 12, 2019 17:42
Show Gist options
  • Save natanloterio/d4189cbbe2229d93cb6ac1aa42e1cce7 to your computer and use it in GitHub Desktop.
Save natanloterio/d4189cbbe2229d93cb6ac1aa42e1cce7 to your computer and use it in GitHub Desktop.
# Screen capture tests
# Note: flutter driver expects a pair of files eg, main.dart and main_test.dart
tests:
- test_driver/main.dart
# Interim location of screenshots from tests before processing
staging: /tmp/screenshots
# A list of locales supported in app
locales:
- en-US
# - fr-CA
# A list of devices to run tests on
devices:
# ios:
# iPhone XS Max:
# frame: false
# iPad Pro (12.9-inch) (2nd generation):
# orientation: LandscapeRight
android:
emulator-5554:
orientation:
- Portrait
# Frame screenshots
frame: true
# Run mode can be one of 'normal' (default), 'recording', 'comparison' or 'archive'.
# If run mode is 'recording' or 'comparison', a directory is required for recorded images.
recording: /tmp/screenshots
# If not intending to upload screenshots, images can be stored in an archive dir.
# This over-rides output to fastlane dirs.
# If run mode is 'archive', a directory is required for archived images.
archive: /tmp/screenshots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment