Skip to content

Instantly share code, notes, and snippets.

@rpappalax
Created October 15, 2021 20:20
Show Gist options
  • Save rpappalax/97eb51111ac032c2474ec9cd8083d6bb to your computer and use it in GitHub Desktop.
Save rpappalax/97eb51111ac032c2474ec9cd8083d6bb to your computer and use it in GitHub Desktop.
new Flank replacement file
# save this configuration to a file called: firebase.yaml
#
# gcloud args match the official gcloud cli
# https://cloud.google.com/sdk/gcloud/reference/firebase/test/android/run
#
# run command:
# gcloud beta firebase test android run firebase.yaml:x86
#
x86:
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: false
use-orchestrator: true
environment-variables:
clearPackageData: true
performance-metrics: true
test-targets:
- notPackage org.mozilla.fenix.screenshots
- notPackage org.mozilla.fenix.syncintegration
device:
- model: Pixel2
version: 28
# Your screenshots will be saved to fastlane/metadata/android in the directory where you ran screengrab
directories-to-pull:
- /sdcard/screenshots
# new params....
grant-permissions: all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment