Closed Bug 1894555 Opened 10 months ago Closed 10 months ago

Run dynamic-toolbar-sticky-* tests on desktop

Categories

(Core :: Panning and Zooming, task, P3)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: botond, Assigned: botond)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We have a group of reftests which test the interaction between position:sticky and dynamic toolbar movement.

Most of them (the ones which actually simulate a dynamic toolbar offset) only run on Android.

However, there does not appear to be a fundamental reason why these tests couldn't also run on desktop. Notably, they do not exercise any dynamic toolbar related code in GeckoView or android-components; rather, they simulate the effects of a dynamic toolbar offset on Layout and APZ code using some test-specific prefs.

I was able to get these tests to work on desktop by making a very minimal change (removing this #ifdef). (And I found being able to run the test on desktop quite useful for debugging a failure caused by the draft patches in bug 1874199.)

In this bug, I would like to get these tests to run on desktop in CI. This would have the advantage of providing test coverage for the relevant code on more platforms / catching regressions more easily during development, as well as making it easier to debug these tests locally on desktop.

(I'll make this change after bug 1874199 just for code dependency reasons; there isn't a conceptual dependency between the two.)

Assignee: nobody → botond
Depends on: 1874199

Generalizing this slightly, as we might as well do this for the dynamic-toolbar-fixed-* tests as well.

Summary: Run dynamic-toolbar-sticky-* tests on desktop → Run dynamic-toolbar-{fixed,sticky}-* tests on desktop
Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/49e49d8da627 Run dynamic-toolbar-{fixed,sticky}-* tests on desktop as well. r=dlrobertson

Looks like the failures are caused by the position:fixed changes in particular.

I'm going to narrow the scope of the bug back to just position:sticky, and deal with position:fixed in a follow-up bug.

Flags: needinfo?(botond)
Summary: Run dynamic-toolbar-{fixed,sticky}-* tests on desktop → Run dynamic-toolbar-sticky-* tests on desktop
Attachment #9399688 - Attachment description: Bug 1894555 - Run dynamic-toolbar-{fixed,sticky}-* tests on desktop as well. r=dlrobertson → Bug 1894555 - Run dynamic-toolbar-sticky-* tests on desktop as well. r=dlrobertson
Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9fcb0e1a3461 Run dynamic-toolbar-sticky-* tests on desktop as well. r=dlrobertson
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Blocks: 1895396

(In reply to Botond Ballo [:botond] from comment #6)

I'm going to narrow the scope of the bug back to just position:sticky, and deal with position:fixed in a follow-up bug.

The follow-up is bug 1895396.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: