Open Bug 1630288 Opened 5 years ago Updated 3 years ago

Fix Inspector.layout DAMP test

Categories

(DevTools :: Framework, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: rcaliman, Unassigned)

References

(Blocks 1 open bug)

Details

The inspector.layout DAMP test doesn't wait for the Layout panel to fully initialize before ending the recording.

The test waits for the Toolbox to open with the Inspector. The Inspector waits for the root node selection, the markup view to load, and the loading of the given default sidebar panel, Layout in this case. But loading the sidebar panel isn’t awaited.

The Layout panel includes the Grid Inspector. It does a trip to the server in order to get the information about grid containers available on the page which it then uses to populate the Grid section.

The DAMP test does not wait for this async call. It tests a blank Layout panel.

Priority: -- → P2

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → Framework
Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.