Open Bug 1865958 Opened 11 months ago Updated 8 months ago

Refactor tests in toolkit/content/tests/chrome/test_notificationbox.xhtml

Categories

(Toolkit :: PopupNotifications and Notification Bars, task)

task

Tracking

()

People

(Reporter: hjones, Unassigned)

References

Details

(Whiteboard: [recomp])

The tests in toolkit/content/tests/chrome/test_notificationbox.xhtml aren't using the most up to date syntax / testing patterns. Right now we do some kind of convoluted work where we create an array of test objects that we run by passing them to a runTimedTests function. We could clean this up by using add_test instead of an array of tests + adding methods for creating and removing notifications instead of using the existing test and result mechanics, which aren't common to other Firefox tests.

Whiteboard: [fidefe-reusable-components] → [recomp]
You need to log in before you can comment on or make changes to this bug.