Closed Bug 1854192 Opened 2 years ago Closed 2 years ago

Create helper for listening for firefoxview telemetry events in tests

Categories

(Firefox :: Firefox View, enhancement)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: kcochrane, Unassigned)

References

Details

(Whiteboard: [fidefe-firefox-view])

For telemetry tests in Firefox View, we've been reusing the same function for waiting for a telemetry event to be recorded in a lot of tests/test files. We should create a helper function for this in head.js (maybe called waitForTelemetryEvent() that takes in an event array (such as these to cut back on the code duplication.

Addressed in bug 1833669.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.