Closed Bug 1515108 Opened 5 years ago Closed 5 years ago

Add DAMP test for project search

Categories

(DevTools :: Debugger, task, P3)

task

Tracking

(firefox68 fixed)

RESOLVED FIXED
Firefox 68
Tracking Status
firefox68 --- fixed

People

(Reporter: ochameau, Assigned: davidwalsh)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [debugger-mvp])

Attachments

(1 file)

Project search has been recently optimized, having a test script specific to this feature would ensure these efforts won't regress over time.

I don't know if the custom debugger page on DAMP is enough to test this feature correctly, but if it is, it would be about adding a test script right here:
https://searchfox.org/mozilla-central/rev/13788edbabb04d004e4a1ceff41d4de68a8320a2/testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js#32

Something like:
async function projectSearchTest(toolbox) {
  const panel = await toolbox.getPanelWhenReady("jsdebugger");
  dump("Creating context\n");
  const dbg = await createContext(panel);

  let test = runTest("custom.jsdebugger.project-search.DAMP");

  // Do something via dbg object to run the project search
  await dbg.something();

  test.done();

  await garbageCollect();
}
Priority: -- → P3
Blocks: dbg-perf
Type: enhancement → task
Summary: Cover project search in DAMP → Add DAMP test for project search

Adds test for damp searches

Assignee: nobody → dwalsh
Status: NEW → ASSIGNED
Whiteboard: [debugger-mvp]
Attachment #9063571 - Attachment description: Bug 1515108 - Add test for project search r=jlast → Bug 1515108 - Add DAMP test for project search r=jlast
Pushed by dwalsh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/11199ccc5f71
Add DAMP test for project search r=jlast
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: