Skip to content

Commit

Permalink
Potential fix for failing add-ons UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiAJ committed Apr 4, 2024
1 parent fa3ee3e commit 59349be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class AddonsManagerRobot {

onView(
allOf(
withId(R.id.permissions),
withId(R.id.optional_or_required_text),
withText(containsString("It requires your permission to:")),
),
).check(matches(isCompletelyDisplayed()))
Expand Down
5 changes: 3 additions & 2 deletions automation/taskcluster/androidTest/flank-arm64-v8a.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ gcloud:
performance-metrics: true

test-targets:
- package org.mozilla.reference.browser.ui
- class org.mozilla.reference.browser.ui.AddonsTest#cancelAddonInstallTest
- class org.mozilla.reference.browser.ui.AddonsTest#installAddonTest

device:
- model: Pixel2.arm
Expand All @@ -30,6 +31,6 @@ gcloud:
flank:
project: GOOGLE_PROJECT
max-test-shards: 50
num-test-runs: 1
num-test-runs: 25
output-style: compact
full-junit-result: true
2 changes: 1 addition & 1 deletion taskcluster/ci/test/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ tasks:
treeherder:
platform: 'ui-test/opt'
symbol: debug(ui-test-arm)
run-on-tasks-for: [github-push]
run-on-tasks-for: [github-push, github-pull-request]
run:
# TODO Generate APKs in a build task instead
gradlew: ['clean', 'assembleDebug', 'assembleAndroidTest']
Expand Down

0 comments on commit 59349be

Please sign in to comment.