Fix CustomizableUI tests to not rely on specific default placements

NEW
Unassigned

Status

()

defect
3 years ago
2 years ago

People

(Reporter: markh, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
There are a number of tests that assume an exact number of default widgets exist in the panel. If we add a new default button these tests break for reasons unrelated to the new widget. These tests should be refactored to handle default placements changing.

The following tests have this problem and needed hacks to have the test pass after adding the sync-button to the panel by default in bug 1201331

> browser/components/customizableui/test/browser_876944_customize_mode_create_destroy.js
> browser/components/customizableui/test/browser_880382_drag_wide_widgets_in_panel.js
> browser/components/customizableui/test/browser_890140_orphaned_placeholders.js
See Also: → 1324062
You need to log in before you can comment on or make changes to this bug.