Closed Bug 2010322 Opened 6 months ago Closed 6 months ago

browser_sidebar_prefs.js and browser_tools_migration.js fail standalone because sidebar is not visible

Categories

(Firefox :: Sidebar, defect)

defect

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 file)

These tests fail standalone because they check sidebar.toolButtons.length when the sidebar is hidden. When hidden, the lit-element doesn't render the buttons in the DOM, so the query returns 0 even though the JavaScript state is correct.

In folder runs, browser_sidebar_pinned_tabs.js runs first and sets sidebar.visibility = "always-show", making the sidebar visible for subsequent tests.

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0540aee6a9ae https://hg.mozilla.org/integration/autoland/rev/07735d86e7f0 browser_sidebar_prefs.js and browser_tools_migration.js fail standalone because sidebar is not visible, r=kcochrane.
Duplicate of this bug: 1956118
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: