Closed Bug 1699066 Opened 4 years ago Closed 4 years ago

Update geckodriver release notes for known Android issues

Categories

(Testing :: geckodriver, task, P3)

Default
task

Tracking

(firefox89 fixed)

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Recently we discovered several issues for geckodriver when running tests for Fenix on Android. The release notes need to be updated for:

  • Bug 1698968 happens since Firefox based on GeckoView is available. Affected are release notes down to version 0.26.0 were we introduced Android support.

  • Bug 1680407 happens since geckodriver 0.28.0 and affects tests as run on unrooted devices. It crashes Firefox during startup, and requires the user to check which --android-storage option works for them.

  • Bug 1699065 covers a this.curBrowser is null failure as raised by WebDriver:NewSession only for Fenix but not GeckoView example. Not sure yet when it regressed. Maybe due to our Fission work.

See Also: → 1698968, 1680407, 1699065

And there is actually also:

  • Bug 1677763 that crashes geckodriver with thread 'webdriver dispatcher' has overflowed its stack. It recently got fixed by bug 1622691, which was just about clippy warnings...
See Also: → 1677763

(In reply to Henrik Skupin (:whimboo) [⌚️UTC+1] from comment #0)

  • Bug 1698968 happens since Firefox based on GeckoView is available. Affected are release notes down to version 0.26.0 were we introduced Android support.

The workaround here is to add the preference as part of the capabilities:

        body = {
            "capabilities": {
                "alwaysMatch": {
                    "moz:firefoxOptions": {
                        "prefs": {
                            "devtools.debugger.remote-enabled": True,
                        },
                        "androidPackage": "org.mozilla.firefox",
                    }
                }
            }
        }
  • Bug 1680407 happens since geckodriver 0.28.0 and affects tests as run on unrooted devices. It crashes Firefox during startup, and requires the user to check which --android-storage option works for them.

  • Bug 1699065 covers a this.curBrowser is null failure as raised by WebDriver:NewSession only for Fenix but not GeckoView example. Not sure yet when it regressed. Maybe due to our Fission work.

Did a session with Agi but it's still not clear what's causing it. At least it seems to be all related to the scoped storage changes in Android 10+.

The release docs on Github will be updated while I'm working on the 0.29.1 release.

Assignee: nobody → hskupin
Status: NEW → ASSIGNED
See Also: → 1700557

Once bug 1700557 is fixed I will use this bug to update the release notes of older geckodriver releases on Github.

Depends on: 1700557
See Also: 1700557

Release notes for 0.29.0, 0.28.0, 0.27.0, and 0.26.0 have been updated for the additional known issues.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.