-
Notifications
You must be signed in to change notification settings - Fork 1.3k
No issue: add Android Emulator action for contributor PRs #18901
No issue: add Android Emulator action for contributor PRs #18901
Conversation
Looks good so far, @AaronMT In contrast to the 20 minutes for execution time here, how long does the Fenix UI job take? Also, is that 20 minutes = build + unit test execution + UI test execution? |
9ed2cdc
to
e78cca0
Compare
On Firebase it looks like recent reporting of successful job completion (of commits under https://github.com/mozilla-mobile/fenix/commits/master) of ui-test-x86-debug are anywhere around 18-30 minutes (e.g, here's one that's 27 min https://github.com/mozilla-mobile/fenix/runs/2240724573)
Yes |
e78cca0
to
45c9f9f
Compare
Re-running a few more times for posting results. Pixel 3_a. Times are total time for all checks.
org.mozilla.fenix.ui.SmokeTest > toggleSearchSuggestions[test(AVD) - 9] FAILED
974
androidx.test.espresso.PerformException: Error performing 'single click - At Coordinates: 539, 2010 and precision: 16, 16' on view 'with id: org.mozilla.fenix.debug:id/mozac_browser_toolbar_edit_url_view'.
975
at androidx.test.espresso.PerformException$Builder.build(PerformException.java:5)
org.mozilla.fenix.ui.SmokeTest > deleteCollectionTest[test(AVD) - 9] FAILED
1009
java.lang.AssertionError
1010
at org.junit.Assert.fail(Assert.java:87)
I think for now we could start with removing those two tests. We could also limit to running only @rpappalax any preference here? |
d11c93a
to
be19f07
Compare
be19f07
to
49ff19b
Compare
Minimizing the run to one test |
Fix indent on block Rename job Try out Pixel 3 (API 29) Swap to back API 28 Limit to one test
49ff19b
to
be94234
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #18901 +/- ##
============================================
+ Coverage 34.60% 34.62% +0.02%
Complexity 1623 1623
============================================
Files 539 539
Lines 21869 21876 +7
Branches 3273 3273
============================================
+ Hits 7567 7575 +8
Misses 13403 13403
+ Partials 899 898 -1
Continue to review full report at Codecov.
|
Adds a subset (those recently selected as fairly stable) to run via android-emulator-runner a HAXM enabled macOS VM. VM startup, AVD creation / boot time, and Gradle test-run for this small subset of tests (see below) takes a little less than 20 minutes. A full smoke-test run trying on personal repository took about 45 minutes. A full UI test-suite ran took just over 90 minutes. No parallelization or retries here compared to Firebase 😩
Recommendation: continue with a small subset of UI tests to at least get something running for this scenario on contributor PR.
Tests included in this draft (@sv-ohorvath selected these for beta execution recently):
Draft for feedback