Skip to content

Instantly share code, notes, and snippets.

@natanloterio
Created December 12, 2019 17:42
Show Gist options
  • Select an option

  • Save natanloterio/d4189cbbe2229d93cb6ac1aa42e1cce7 to your computer and use it in GitHub Desktop.

Select an option

Save natanloterio/d4189cbbe2229d93cb6ac1aa42e1cce7 to your computer and use it in GitHub Desktop.

Revisions

  1. natanloterio created this gist Dec 12, 2019.
    37 changes: 37 additions & 0 deletions screenshots.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,37 @@
    # 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