Open Bug 1603066 Opened 4 years ago Updated 2 years ago

Refactor CSS Shapes Highlighter tests

Categories

(DevTools :: Inspector: Rules, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: rcaliman, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Tests for the CSS Shapes Editor (aka CSS Shapes highlighter) are needlessly complex and must be refactored:

https://searchfox.org/mozilla-central/search?path=&q=browser_inspector_highlighter-cssshape_

They don't use getHighlighterHelperFor as other tests do and they concentrate too much functionality in each test which leads to intermittent failures (see bug 1453214) that are difficult to isolate. The scope of each test should be reduced so its easier to spot regressions.

Depends on: 1572663
Assignee: rcaliman → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.