mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
611ff8f25b
Speculative fix based on the Firebase logs which shows that on a second check of R.id.tab_wrapper it is not found the screen. It may be because after `advanceToHalfExpandedState` and before getting a reference to it in `waitForTabTrayBehaviorToIdle` it was already animated off the screen. With this in mind I've added a null check for the view reference before trying to register an idling resource on it's Behavior. Also added and used a way to click at a specific location in a View, not just in the default middle in the View. It was observed from the Firebase videos that a "click" on the topBar actually selected the private tabs section. This would leave us to believe that the "click" was caught by that other View which was placed above the x,y middle of the topBar.
57 lines
1.8 KiB
YAML
57 lines
1.8 KiB
YAML
# gcloud args match the official gcloud cli
|
|
# https://cloud.google.com/sdk/gcloud/reference/firebase/test/android/run
|
|
gcloud:
|
|
results-bucket: fenix_test_artifacts
|
|
record-video: true
|
|
|
|
# The maximum possible testing time is 30m on physical devices and 60m on virtual devices.
|
|
timeout: 30m
|
|
# will start test then close socket. no reports will be generated.
|
|
# to retrieve results later, use the "refresh" command
|
|
# reports will be generated from /results/matrix_ids.json
|
|
#async: true
|
|
# will start test then leave socket open. reports will be published
|
|
# to /results
|
|
# see: https://github.com/TestArmada/flank/issues/339
|
|
async: false
|
|
|
|
# results-history-name
|
|
# by default, set to app name
|
|
# declare results-history-name to create a separate dropdown menu in Firebase
|
|
# see: https://github.com/TestArmada/flank/issues/341
|
|
#results-history-name: tmp_parallel
|
|
|
|
# The number of times a test execution should be re-attempted if one or more failures occur.
|
|
# The maximum number of reruns allowed is 10. Default is 0, which implies no reruns.
|
|
num-flaky-test-attempts: 1
|
|
|
|
# test and app are the only required args
|
|
app: /app/path
|
|
test: /test/path
|
|
|
|
auto-google-login: true
|
|
use-orchestrator: true
|
|
environment-variables:
|
|
clearPackageData: true
|
|
directories-to-pull:
|
|
- /sdcard/screenshots
|
|
performance-metrics: true
|
|
|
|
test-targets:
|
|
- package org.mozilla.fenix.ui
|
|
- package org.mozilla.fenix.glean
|
|
|
|
device:
|
|
- model: Pixel2
|
|
version: 28
|
|
|
|
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: 50
|
|
# 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
|
|
|