Closed Bug 1781913 Opened 2 years ago Closed 1 year ago

Intermittent browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_telemetry.js | single tracking bug

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: jmaher, Assigned: adw)

References

(Depends on 1 open bug)

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 file)

No description provided.

Additional information about this bug failures and frequency patterns can be found by running: ./mach test-info failure-report --bug 1781913

Assignee: nobody → adw
Status: NEW → ASSIGNED

This task was added in D161866 and it fails because sometimes this happens in
the view:

  1. The row count is 19 and the last row is not the quick suggest
  2. Then the quick suggest row gets added, so the row count is 20

That makes the mutation promise hang because it expects the row count to be 19
when the quick suggest row is added last.

This patch makes the mutation listener wait for the quick suggest row to simply
be added instead of assuming it's the last row during a certain row count. It
also removes some checks that aren't necessary to test the thing this task is
testing and that are also susceptible to races.

Retriggers on try are green.

Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9dc2052fcc52
Fix intermittent failure in browser_quicksuggest_telemetry.js. r=dao
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: