Run UI tests nightly def (#17513)

* run-ui-test-nightly

* Run ui tests on nightly build

* set correct number of shard according to tests running

* fix typo

* removing testing file

Co-authored-by: isabel rios <isabelrios@MBP-de-isabel-2.home>
upstream-sync
isabelrios 3 years ago committed by GitHub
parent f180d932c8
commit 06c1734aa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -42,7 +42,9 @@ gcloud:
flank:
project: GOOGLE_PROJECT
# test shards - the amount of groups to split the test suite into
# set to -1 to use one shard per test.
max-test-shards: 1
# num-test-runs: the amount of times to run the tests.
# 1 runs the tests once. 10 runs all the tests 10x
num-test-runs: 1

@ -76,7 +76,7 @@ set +e
if [[ "${device_type}" =~ ^(arm64-v8a|armeabi-v7a|x86_64|x86)$ ]]; then
flank_template="${PATH_TEST}/flank-${device_type}.yml"
elif [[ "${device_type}" == "x86-start-test" ]]; then
elif [[ "${device_type}" == "x86-start-nightly-test" ]]; then
flank_template="${PATH_TEST}/flank-x86-start-test.yml"
elif [[ "${device_type}" == "arm-start-test" ]]; then
flank_template="${PATH_TEST}/flank-armeabi-v7a-start-test.yml"

@ -63,6 +63,15 @@ jobs:
treeherder:
symbol: beta(Bf)
nightly-firebase:
disable-optimization: true
run-on-tasks-for: [github-push] # We want this on push so that we detect problem before triggering a new beta
run:
gradle-build-type: nightly
test-build-type: nightly
treeherder:
symbol: nightly(Bf)
android-test-debug:
attributes:
code-review: true
@ -85,13 +94,16 @@ jobs:
android-test-nightly:
attributes:
nightly: true
run:
gradle-build-type: androidTest
apk-artifact-template:
# 2 differences here:
# * "androidTest/" is added
# * "{gradle_build_type}" is forced to "debug"
path: '/builds/worker/checkouts/src/app/build/outputs/apk/androidTest/debug/{fileName}'
path: '/builds/worker/checkouts/src/app/build/outputs/apk/androidTest/nightly/app-nightly-androidTest.apk'
disable-optimization: true
run:
gradle-build-type: androidTest
test-build-type: nightly
run-on-tasks-for: [github-push]
treeherder:
symbol: nightly(Bat)

@ -56,6 +56,7 @@ job-template:
by-build-type:
android-test.+: Bats
beta-firebase: Bfs
nightly-firebase: Bfs
default: Bs
kind: build
platform: android-all/opt

@ -80,3 +80,16 @@ jobs:
- [automation/taskcluster/androidTest/ui-test.sh, x86-beta-tests, app.apk, android-test.apk, '50']
treeherder:
symbol: beta(ui-test-x86-beta)
x86-nightly:
attributes:
build-type: nightly-firebase
description: Test Fenix
run-on-tasks-for: [github-push]
dependencies:
signing: signing-nightly-firebase
signing-android-test: signing-android-test-nightly
run:
commands:
- [automation/taskcluster/androidTest/ui-test.sh, x86-start-nightly-test, app.apk, android-test.apk, '-1']
treeherder:
symbol: nightly(ui-test-x86-nightly)

Loading…
Cancel
Save