Closed Bug 1932366 Opened 1 year ago Closed 1 year ago

UI tests failures with Android fission enabled

Categories

(Firefox for Android :: UI Tests, defect)

Firefox 134
All
Android
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: ohorvath, Unassigned)

References

Details

Attachments

(1 file)

Try run with the MOZ_FORCE_ENABLE_FISSION env variable configuration:

https://console.firebase.google.com/u/0/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/5949212631303058815/details?stepId=bs.f563dad67d3f1120&testCaseId=4&tabId=video

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.

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:

  1. Enable the https-only mode in all tabs.
  2. Open a website, like http://example.com in the test.
  3. In the same tab, go to "http.baddssl.com"
  4. 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.

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.

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.

Attached image screenshot.png
Depends on: 1932498
Depends on: 1933224

Closing this out.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: