Closed Bug 1631727 Opened 4 years ago Closed 4 years ago

Test the context selector menu structure and operations

Categories

(DevTools :: Console, task, P1)

task

Tracking

(Fission Milestone:M6, firefox77 fixed)

RESOLVED FIXED
Firefox 77
Fission Milestone M6
Tracking Status
firefox77 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

(Whiteboard: dt-fission-m2-mvp)

Attachments

(1 file)

The test that we have for the context selector does not really test the menu itself, so we should have one for that.

The only test we have is split in two tests, one for
checking the interactions with the inspector, and the
other one to check webconsole actions, like selecting
context and store as global variable context menu entry.
We add test cases to ensure the menu has the expected
structure and that the expected menu item are checked
when we expect to.
We add a helper function to be able to load a URI + iframes
so the setup is terser on the tests.
The id of the meun actually had to be fixed, as it was
the same as the console settings menu.

Depends on D71729

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/47d3529b97ba
Test the evaluation context menu structure. r=jlast.

Tracking Fission DevTools bugs for Fission Nightly (M6) milestone

Fission Milestone: --- → M6
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: