forked from mozilla-mobile/firefox-tv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Screengrabfile
29 lines (21 loc) · 1.13 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.
use_tests_in_packages ['org.mozilla.tv.firefox.ui.screenshots']
app_package_name 'org.mozilla.tv.firefox.debug'
app_apk_path 'app/build/outputs/apk/system/debug/app-system-debug.apk'
tests_apk_path 'app/build/outputs/apk/androidTest/system/debug/app-system-debug-androidTest.apk'
# Supported locales
locales ['en-US', 'de', 'zh-cn', 'fr', 'it', 'ja', 'pt-BR', 'es-ES']
# 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
exit_on_test_failure false
skip_open_summary false
reinstall_app true
test_instrumentation_runner 'org.mozilla.tv.firefox.FirefoxOnDeviceTestRunner'