Skip to content

Instantly share code, notes, and snippets.

@natanloterio
Created December 12, 2019 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natanloterio/e2041ae8bbb56a058ea34df00ae763c8 to your computer and use it in GitHub Desktop.
Save natanloterio/e2041ae8bbb56a058ea34df00ae763c8 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