Closed Bug 1616505 Opened 2 months ago Closed 1 month ago

browser_jsterm_autocomplete_width.js is not really accurate

Categories

(DevTools :: Console, task, P3)

task

Tracking

(firefox75 fixed)

RESOLVED FIXED
Firefox 75
Tracking Status
firefox75 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

There's some assertions on the autocomplete popup width which are not really true, so let's fix them.

The test was claiming to check that the width of the popup was larger
than the width of the longest item in the popup, but wasn't really doing
that. Fortunately, the test isn't failing when fixing this.
A helper is added to make the test easier to read, and the assertions
were modified to mention the different widths we're checking.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4ea178fcab98
Fix browser_jsterm_autocomplete_width.js assertions. r=Honza.
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75
You need to log in before you can comment on or make changes to this bug.