UI tests failures with Android fission enabled
Categories
(Firefox for Android :: UI Tests, defect)
Tracking
()
People
(Reporter: ohorvath, Unassigned)
References
Details
Attachments
(1 file)
|
131.40 KB,
image/png
|
Details |
Try run with the MOZ_FORCE_ENABLE_FISSION env variable configuration:
Some https-only tests are failing when testing with the "http.badssl.com" test page.
The verifyCalendarFormInteractionsTest test fails to validate the text returned on the page when submitting the selected date.
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 1•1 year ago
•
|
||
Found the cause with the https-only mode tests.
First, to enable Fission:
Modified mobile/android/fenix/automation/taskcluster/androidTest/geckoview-configs/org.mozilla.fenix.debug-geckoview-config.yaml to add
env:
MOZ_FORCE_ENABLE_FISSION: 1
And pushed that file to device to /data/local/tmp
Steps to reproduce manually:
- Enable the https-only mode in all tabs.
- Open a website, like http://example.com in the test.
- In the same tab, go to "http.baddssl.com"
- Tap the "Go back (Recommended)" button on the bad ssl error page.
Result: Instead of returning directly to the example.com page, the image above the "Secure site not available" error disappears first. A second click is needed to navigate back to the first page.
*This is not reproducible with Fission disabled.
| Reporter | ||
Comment 2•1 year ago
•
|
||
The calendar test failure seems to be just a timing issue. Replacing the way we assert the page content is gone will make the test pass.
Comment 3•1 year ago
|
||
I can reproduce the issue. To confirm the URL in step 3 should be https://http.badssl.com
On 4, on Go Back (Recommended), the Go Back action looks like it's tied to something else instead of the expected first URL visit.
See attached screenshot.
Comment 4•1 year ago
|
||
Comment 5•1 year ago
|
||
Closing this out.
Description
•