forked from mozilla-mobile/focus-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Screengrabfile
29 lines (24 loc) · 1.62 KB
/
Screengrabfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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 'app/build/outputs/apk/focusArm/debug/app-focus-arm-debug.apk'
tests_apk_path 'app/build/outputs/apk/androidTest/focusArm/debug/app-focus-arm-debug-androidTest.apk'
locales ['af', 'ace','am','an','anp','ar', 'ast', 'ay', 'az', 'bg', 'bn-BD', 'bn-IN', 'bo','bs','ca',
'cak', 'co', 'cs', 'cy', 'da','de', 'dsb', 'el', 'eo', 'es-AR', 'es-CL', 'es-ES', 'es-MX',
'eu','fa', 'fi','fr', 'fy-NL','ga-IE', 'gl','gu-IN','he', 'hi-IN','hr', 'hsb', 'hu', 'hus',
'hy-AM', 'ia','id', 'it', 'ixl', 'ja', 'jv', 'ka', 'kab', 'kk', 'ko', 'kw', 'lo', 'lt',
'meh','mix', 'mr', 'ms', 'my','nb-NO', 'ne-NP', 'nl', 'nn-NO','oc', 'pa-IN', 'pai', 'pl',
'ppl', 'pt-BR', 'quc', 'quy', 'ro', 'ru', 'sk', 'sl', 'sn', 'sq', 'sr', 'su', 'sv-SE', 'ta',
'te', 'th', 'tr','trs', 'tsz', 'tt', 'uk', 'ur', 'vi','wo','zam','zh-CN', 'zh-TW','en-CA']
# 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
exit_on_test_failure false