Skip to content

Commit

Permalink
l10n-tests-add-screengrabfile
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelrios authored and mergify[bot] committed Nov 22, 2021
1 parent 83bd064 commit 046c389
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Screengrabfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# This is the template for our Screengrabfile used in automation.
# tools/taskcluster/generate_screengrab_config.py will read this
# file and generate the final configuration that we use inside
# a taskcluster task.

app_package_name 'org.mozilla.focus.debug'
use_tests_in_packages ['org.mozilla.focus.screenshots']

app_apk_path('~/focus-android/focus-android/app/build/outputs/apk/focus/debug/app-focus-x86-debug.apk')
tests_apk_path('/focus-android/focus-android/app/build/outputs/apk/androidTest/focus/debug/app-focus-debug-androidTest.apk')

locales(['en-US', 'fr-FR', 'it-IT', 'de-DE', 'ja', 'ru', 'zh-CN', 'zh-TW', 'ko'])

# Clear all previous screenshots locally. Technically not needed in automation.
# But it's easier to debug this on a local device if there are no old screenshots
# hanging around.
clear_previous_screenshots true
reinstall_app true

0 comments on commit 046c389

Please sign in to comment.