Closed Bug 1700112 Opened 4 years ago Closed 4 years ago

[meta] Fix tests that fail when browser.proton.enabled is true

Categories

(Firefox :: Theme, task, P1)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: mconley, Unassigned)

References

Details

(Keywords: meta, Whiteboard: [proton])

Priority: -- → P1

Fixing bug 1699310 might fix browser/base/content/test/performance/browser_startup_images.js , the pocket button work in bug 1693376 is likely to fix some/all of the CUI ones.

Depends on: 1699310, 1693376

(In reply to :Gijs (he/him) from comment #1)

The pocket button work in bug 1693376 is likely to fix some/all of the CUI ones.

Re-pushing now that that's landed: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3ed214b2325b5bf83933eaae85ee85ffb66fc768

(In reply to :Gijs (he/him) from comment #2)

(In reply to :Gijs (he/him) from comment #1)

The pocket button work in bug 1693376 is likely to fix some/all of the CUI ones.

Re-pushing now that that's landed: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3ed214b2325b5bf83933eaae85ee85ffb66fc768

OK, so the pocket button definitely helped. I ran some more tests. The a11y test results look concerning, and I'm not sure off-hand why they would fail. Jamie, I don't suppose you (or someone on your team) could spare some time to help? To reproduce, flipping browser.proton.enabled to true in firefox.js and running ./mach build faster should be sufficient. try has a lot of failures along the lines of:

TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_listcontrols.xhtml | Test timed out.
TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_menu.xhtml | Unique type focus event was handled.
TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_menu.xhtml | Unique type focus event was handled.
TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_name.html | Unique type focus event was handled.
TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_name.html | Unique type focus event was handled.
TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_removal.html | Unique type focus event was handled.
TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_removal.html | Unique type focus event was handled.
TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_selects.html | Unique type focus event was handled.
TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_tree.xhtml | Unique type focus event was handled.
TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_tree.xhtml | Unique type focus event was handled.
Flags: needinfo?(jteh)

(In reply to :Gijs (he/him) from comment #3)

TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_listcontrols.xhtml | Test timed out.

This one happens because the test clicks near the top left of a menulist and expects it to open. That seems to work with Proton disabled, but I guess some sizing changed somewhere and now a top left click doesn't work. Assuming that's intentional, I think it's reasonable to change the test to click at the centre, but that will require a tweak to some supporting code, since it doesn't support centre clicks at present.

TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/events/test_focus_menu.xhtml | Unique type focus event was handled.
...

The good news is that the rest of these failures are just side effects of the timed out test not cleaning up properly. With the issue above fixed, they go away.

Flags: needinfo?(jteh)

I tried to flip the pref today for a Try run while investigating urlbar graduation, and I still see failures when just enabling the main proton pref. This was an artifact and using firefox.js, I'm not sure if any of these would be avoided with a full build, but it sounds like some failures may be real https://treeherder.mozilla.org/jobs?repo=try&revision=ecda7f2841a27082ea1f586533f64558f1043311

(In reply to Marco Bonardo [:mak] from comment #5)

I tried to flip the pref today for a Try run while investigating urlbar graduation, and I still see failures

It's more like "again"... people keep landing things (how dare they try to fix more bugs! :-) ) and we don't notice when they break tests because it's all preffed off...

No longer depends on: 1703412
Depends on: 1703646
Depends on: 1703649
No longer depends on: 1703644
No longer depends on: 1703646

Proton is enabled by default in Nightly. We've got some intermittents, and tests where we still intentionally turn Proton off, but we can address those in bug 1698882.

Status: NEW → RESOLVED
Closed: 4 years ago
Keywords: meta
Resolution: --- → FIXED
Summary: Fix tests that fail when browser.proton.enabled is true → [meta] Fix tests that fail when browser.proton.enabled is true
You need to log in before you can comment on or make changes to this bug.