Closed Bug 2005158 Opened 7 months ago Closed 7 months ago

browser_ext_popup_corners fails when run standalone

Categories

(WebExtensions :: General, defect)

defect

Tracking

(firefox148 fixed)

RESOLVED FIXED
148 Branch
Tracking Status
firefox148 --- fixed

People

(Reporter: daleharvey, Assigned: robwu)

References

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

While working on https://bugzilla.mozilla.org/show_bug.cgi?id=1988726 I was running into failures in this test, disabling the feature still caused the test to fail in verify mode which was confusing, the test also always failed locally. I could get the test to pass if I run the entire test directory, so this seems to have a dependency on a previous test which makes it very confusing to diagnose what is causing it to fail

Duplicate of this bug: 2005213

I looked into the failure. The test expects the extension button to be hidden from the toolbar (moved into the extensions panel on overflow). That does somehow not happen. I modified the test by prepending another extension button, which successfully caused it to move.

However, upon taking a closer look, we don't need that part of the test any more. It was originally added as a regression test for bug 1786587, to verify that the panel is positioned correctly when the button was inside the overflow menu. We now render overflown extension buttons inside the Extensions Panel (by bug 1797155), and the test has since been morphed into one where the button starts inside the Extensions Panel instead of the overflow menu (diff that dropped the original logic), which means that the test has moved far from what it was originally supposed to test. The only potentially remaining scenario that the test could be covering is to verify the overflow behavior (=button moves elsewhere) when the buttons do not fit in the window, but that scenario is already covered more explicitly in browser_unified_extensions_overflowable_toolbar.js.

I'll attach a patch that drops the part of the test.

Assignee: nobody → rob
See Also: → 1786587
Whiteboard: [addons-jira]
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: