Closed Bug 1758110 Opened 3 years ago Closed 3 years ago

Better assert the actual content of the Source Tree in tests

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file)

In bug 1747105, I would like to better assert the actual content of the source tree.
We have two methods doing assertion against the SourceTree but they are weak:
https://searchfox.org/mozilla-central/rev/7f1db1d2c556b82114b62f5aa4aa29397ad5bce4/devtools/client/debugger/test/mochitest/shared-head.js#1953-1965
They do not allow to know how many actual files are displayed and also count the folder icons.
Nor do they allow to assert the actual source names displayed in the tree.
Nor do they allow to automatically expand the tree and require manual steps to expand it.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0f5d55312bf [devtools] Better assert the actual content of the source tree. r=bomsy
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: