Closed Bug 2023978 Opened 2 months ago Closed 2 months ago

Improve window manipulation for Wayland headless jobs

Categories

(Remote Protocol :: Marionette, task, P3)

task
Points:
2

Tracking

(firefox151 fixed)

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [webdriver:m19], [wptsync upstream][webdriver:relnote])

Attachments

(4 files, 1 obsolete file)

For example see the following metadata file:
https://searchfox.org/firefox-main/source/testing/web-platform/meta/webdriver/tests/classic/minimize_window/stress.py.ini#8

At some point the Wayland entries got replaced and are now listed as fallback with [PASS, FAIL], but most of the tests should actually work under headless mode even with Wayland active. We should update the entries accordingly.

Also it would be good to actually have access to the headless flag from within the pytest itself. That way we could exclude some parts of the tests to run (like checks for x and y window coordinates) for headful mode.

Blocks: 1743116
Blocks: 1855028
Points: --- → 2
Priority: -- → P3
Whiteboard: [webdriver:m19]
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Attachment #9557477 - Attachment description: WIP: Bug 2023978 - [wdspec] Update window geometry tests and manifests for Wayland headful. → WIP: Bug 2023978 - [wdspec] Update window geometry tests for WebDriver classic and manifests for Wayland headful.
Attachment #9557511 - Attachment description: WIP: Bug 2023978 - [remote] Allow moving of the brower window with Wayland headless. → Bug 2023978 - [remote] Allow moving of the brower window with Wayland headless.
Attachment #9557476 - Attachment description: WIP: Bug 2023978 - [wpt] Pass "display" and "headless" values to WebDriver tests. → Bug 2023978 - [wpt] Pass "display" and "headless" values to WebDriver tests.
Attachment #9557477 - Attachment description: WIP: Bug 2023978 - [wdspec] Update window geometry tests for WebDriver classic and manifests for Wayland headful. → Bug 2023978 - [wdspec] Update window geometry tests for WebDriver classic and manifests for Wayland headful.
Attachment #9557463 - Attachment is obsolete: true

As a self-reminder I'll check upstream on the wpt repository if we can get rid of checking the display environment variable for Wayland. I need to test this upstream and it makes it hard with this set of patches. So I'll do when the upstream sync is done.

Attachment #9557511 - Attachment description: Bug 2023978 - [remote] Allow moving of the brower window with Wayland headless. → Bug 2023978 - [remote] Allow re-posiioning of chrome windows with Wayland headless.
Blocks: 1650132
Summary: [wdspec] Update metadata for window manipulation tests related to Wayland headful jobs → Improve window manipulation for Wayland headless jobs
Whiteboard: [webdriver:m19] → [webdriver:m20]
Pushed by hskupin@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d9d06573ae02 https://hg.mozilla.org/integration/autoland/rev/86956536b752 [marionette] Remove duplicated window manipulation tests from Marionette unit tests. r=jdescottes https://github.com/mozilla-firefox/firefox/commit/265da6f4c45c https://hg.mozilla.org/integration/autoland/rev/a8c69b6a691a [remote] Allow re-posiioning of chrome windows with Wayland headless. r=jdescottes https://github.com/mozilla-firefox/firefox/commit/8be2ad2875ab https://hg.mozilla.org/integration/autoland/rev/db75bc81aec7 [wpt] Pass "display" and "headless" values to WebDriver tests. r=Sasha https://github.com/mozilla-firefox/firefox/commit/a34caac77795 https://hg.mozilla.org/integration/autoland/rev/431bf6148f4a [wdspec] Update window geometry tests for WebDriver classic and manifests for Wayland headful. r=jdescottes
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8dd9b4db45a6 https://hg.mozilla.org/integration/autoland/rev/2c751e75262a update test expectations for user_prompts.py because 2 test are unexpecting passing.
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/58848 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m20] → [webdriver:m20], [wptsync upstream]
Whiteboard: [webdriver:m20], [wptsync upstream] → [webdriver:m19], [wptsync upstream]
Upstream PR merged by moz-wptsync-bot
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/683d2eedb117 https://hg.mozilla.org/integration/autoland/rev/71df2ff0b6a0 [wpt PR 58848] - [Gecko Bug 2023978] [wpt] Pass "display" and "headless" values to WebDriver tests., a=testonly
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 151 Branch → ---

This bug is fixed but there is a follow-up downstream sync patch to land and the appropriate landing failed but that's unrelated to our implementation.

Status: REOPENED → RESOLVED
Closed: 2 months ago2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/58cc4351d02c https://hg.mozilla.org/integration/autoland/rev/e8953fd7325d [wpt PR 58848] - [Gecko Bug 2023978] [wpt] Pass "display" and "headless" values to WebDriver tests., a=testonly
Whiteboard: [webdriver:m19], [wptsync upstream] → [webdriver:m19], [wptsync upstream][webdriver:relnote]
Blocks: 2040621
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: