Closed Bug 1975963 Opened 29 days ago Closed 26 days ago

Test browser_devices.js fails with --repeat 2

Categories

(DevTools :: General, defect, P3)

defect

Tracking

(firefox142 fixed)

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: jdescottes, Assigned: glob, Mentored)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

Steps to reproduce:

  • run ./mach test browser_devices.js --repeat 2

The test should pass successfully but it fails here. The issue is probably that we don't cleanup the custom devices which have been added during the test.

We have a helper removeLocalDevices() which could be called via a registerCleanupFunction in this test.

This should be an easy fix for a first contribution.

Mentor: jdescottes
Keywords: good-first-bug
Assignee: nobody → glob
Pushed by bjones@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/64facc00f17a https://hg.mozilla.org/integration/autoland/rev/deb3dc722ccc [devtools] Cleanup devices after browser_devices tests. r=devtools-reviewers,nchevobbe
Severity: -- → S3
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 26 days ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: