[meta] Port APZ Fission tests in browser_test_group_fission.js to regular mochitests running in M-fis or M-fis-xorig mode
Categories
(Core :: Panning and Zooming, task, P3)
Tracking
()
People
(Reporter: botond, Assigned: ajakobi)
References
(Depends on 2 open bugs, Blocks 1 open bug, Regressed 2 open bugs)
Details
(Keywords: leave-open, meta, Whiteboard: [fission:android][fxdroid])
Attachments
(12 files, 1 obsolete file)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
APZ has a suite of browser-chrome mochitests for testing issues specific to Fission in browser_test_group_fission.js. There are currently 19 subtests in this suite.
These tests use the FissionTestHelper
actor (parent, child), and pre-date the ability of regular mochitests to exercise Fission codepaths.
It should be possible to re-formulate many of these tests as plain mochitests running in M-fis or M-fis-xorig test jobs. This bug tracks this porting work.
Updated•1 year ago
|
Comment 1•11 months ago
|
||
Tracking as a potential issue for Android Fission.
Reporter | ||
Comment 2•11 months ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #1)
Tracking as a potential issue for Android Fission.
Indeed, this is quite relevant to Android Fission. I didn't realize this at the time I filed the bug, but the browser-mochitest suite does not run on Android, while mochitest-plain does.
So, the mentioned porting work will not only simplify APZ's Fission-related tests, it will also bring that test coverage to Android.
Updated•9 months ago
|
Updated•9 months ago
|
Comment 3•6 months ago
|
||
Hi Botond, can this work get prioritized? We are hoping to fix all failing Fission tests this summer, it would be great to improve the test coverage as well. We are hoping to prepare for running experiments in early Q3
Reporter | ||
Comment 4•6 months ago
|
||
(In reply to [:owlish] 🦉 PST from comment #3)
Hi Botond, can this work get prioritized?
Yes, this is on our roadmap. I believe Alex plans to work on this next after bug 1855990, so we should be looking to start this in the Q2 timeframe. Given the number of tests involved, completion of the port will likely be in Q3.
Assignee | ||
Comment 5•4 months ago
|
||
Currently working on this, so far ported
Assignee | ||
Comment 6•4 months ago
|
||
Assignee | ||
Comment 7•4 months ago
|
||
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Reporter | ||
Updated•4 months ago
|
Comment 9•4 months ago
|
||
bugherder |
Assignee | ||
Comment 10•4 months ago
|
||
Assignee | ||
Comment 11•4 months ago
|
||
Assignee | ||
Comment 12•4 months ago
|
||
Assignee | ||
Comment 13•4 months ago
|
||
Assignee | ||
Comment 14•4 months ago
|
||
Comment 15•3 months ago
|
||
Comment 16•3 months ago
•
|
||
Backed out for causing mochitest-plain failures on test_group_fission.html.
-
Failure log
Before relanding this, please take a look at this TV failures that were also caused by this:
[task 2024-08-13T14:23:01.480Z] 14:23:01 INFO - TEST-START | gfx/layers/apz/test/mochitest/test_group_fission.html
[task 2024-08-13T14:23:01.480Z] 14:23:01 INFO - Buffered messages logged at 14:22:54
[task 2024-08-13T14:23:01.480Z] 14:23:01 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | Starting subtest helper_fission_scroll_handoff.html
[task 2024-08-13T14:23:01.480Z] 14:23:01 INFO - Buffered messages finished
[task 2024-08-13T14:23:01.480Z] 14:23:01 WARNING - TEST-UNEXPECTED-FAIL | gfx/layers/apz/test/mochitest/test_group_fission.html | Error: Native wheel events not supported on platform android
[task 2024-08-13T14:23:01.480Z] 14:23:01 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:426:16
[task 2024-08-13T14:23:01.481Z] 14:23:01 INFO - advanceSubtestExecutionWithFailure@gfx/layers/apz/test/mochitest/apz_test_utils.js:400:18
[task 2024-08-13T14:23:01.481Z] 14:23:01 INFO - must wait for focus
[task 2024-08-13T14:23:01.481Z] 14:23:01 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | Starting subtest helper_fission_tap.html
[task 2024-08-13T14:23:01.481Z] 14:23:01 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | Successfully installed event listener in OOP iframe
[task 2024-08-13T14:23:11.542Z] 14:23:11 WARNING - TEST-UNEXPECTED-FAIL | gfx/layers/apz/test/mochitest/test_group_fission.html | x-coord -43 landed near expected value 141.42135623730948
[task 2024-08-13T14:23:11.542Z] 14:23:11 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:426:16
[task 2024-08-13T14:23:11.542Z] 14:23:11 INFO - test@gfx/layers/apz/test/mochitest/helper_fission_tap.html:69:9
[task 2024-08-13T14:23:11.542Z] 14:23:11 INFO - async*@gfx/layers/apz/test/mochitest/helper_fission_tap.html:76:8
[task 2024-08-13T14:23:11.542Z] 14:23:11 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | y-coord 140 landed near expected value 141.42135623730948
[task 2024-08-13T14:23:11.542Z] 14:23:11 INFO - must wait for focus
[task 2024-08-13T14:23:11.543Z] 14:23:11 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | Starting subtest helper_fission_tap_on_zoomed.html
[task 2024-08-13T14:23:11.543Z] 14:23:11 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | Successfully installed event listener in OOP iframe
[task 2024-08-13T14:23:21.612Z] 14:23:21 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | x-coord 99 landed near expected value 100
[task 2024-08-13T14:23:21.612Z] 14:23:21 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | y-coord 99 landed near expected value 100
[task 2024-08-13T14:23:21.612Z] 14:23:21 INFO - must wait for focus
[task 2024-08-13T14:23:21.612Z] 14:23:21 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | Starting subtest helper_fission_touch.html
[task 2024-08-13T14:23:21.612Z] 14:23:21 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | Successfully installed event listeners in OOP iframe
[task 2024-08-13T14:23:21.612Z] 14:23:21 INFO - must wait for focus
[task 2024-08-13T14:23:21.612Z] 14:23:21 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | Starting subtest helper_fission_transforms.html
[task 2024-08-13T14:23:21.612Z] 14:23:21 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | Successfully installed event listener in OOP iframe
[task 2024-08-13T14:23:21.612Z] 14:23:21 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | x-coord 140 landed near expected value 141.42135623730948
[task 2024-08-13T14:23:21.613Z] 14:23:21 INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_fission.html | y-coord 140 landed near expected value 141.42135623730948
[task 2024-08-13T14:23:21.613Z] 14:23:21 INFO - TEST-OK | gfx/layers/apz/test/mochitest/test_group_fission.html | took 25444ms
[task 2024-08-13T14:23:21.613Z] 14:23:21 INFO - TEST-START | gfx/layers/apz/test/mochitest/test_group_fullscreen.html
Updated•3 months ago
|
Comment 17•3 months ago
|
||
So the failure on helper_fission_tap.html happened only on Android? I guess adding <meta name="viewport" content="width=device-width,initial-scale=1"> solves the failure. (Though I am still wondering why the test fails without the meta tag)
Reporter | ||
Updated•3 months ago
|
Comment 19•2 months ago
|
||
Comment 20•2 months ago
|
||
bugherder |
Comment 21•2 months ago
|
||
helper_fission_empty.html does have it [1], it's necessary to make
helper_fission_animation_styling_in_transformed_oopif.html work as a new
mochitest-plain test. (If there was the default 8px margins on <body>, the
animating element in the test is still out of view)
[1] https://searchfox.org/mozilla-central/rev/14a66905574728bc9eb60e927d17d98721167dcf/gfx/layers/apz/test/mochitest/helper_fission_empty.html#5-9
[2] https://searchfox.org/mozilla-central/rev/14a66905574728bc9eb60e927d17d98721167dcf/gfx/layers/apz/test/mochitest/helper_fission_animation_styling_in_transformed_oopif.html
Comment 22•2 months ago
|
||
Comment 23•2 months ago
|
||
Comment 24•2 months ago
|
||
Comment 25•2 months ago
|
||
bugherder |
Comment 26•1 month ago
|
||
Hi Alex, is there much work left on this? Thanks!
Reporter | ||
Comment 28•1 month ago
•
|
||
To give a bit more detail on the current status:
- There are 18 tests in total
- 6 have been ported and enabled on both desktop and Android
- 2 have been ported but only enabled on desktop so far because they fail on Android (bug 1914368 and bug 1915378 track enabling these on Android)
- 10 tests remain to be ported
Reporter | ||
Comment 29•1 month ago
|
||
(In reply to Botond Ballo [:botond] from comment #28)
- 6 have been ported and enabled on both desktop and Android
- 2 have been ported but only enabled on desktop so far because they fail on Android (bug 1914368 and bug 1915378 track enabling these on Android)
(Though I did notice that 2 of the ported tests are not listed in the test group, and therefore not running, at all. I filed bug 1922710 about this.)
Assignee | ||
Comment 30•14 days ago
|
||
Comment 31•10 days ago
|
||
Comment 32•9 days ago
|
||
bugherder |
Comment 33•3 days ago
|
||
Comment 34•3 days ago
|
||
I originally wrote D227908 as a part of bug 1923513, but after some thoughts, now I think the change should be post here in this bug for being tracked in future.
Comment 35•3 days ago
|
||
Comment 36•2 days ago
|
||
bugherder |
Assignee | ||
Comment 37•19 hours ago
|
||
Description
•