Bug 1551198 - Ensure project search DAMP test display UI r=ochameau
authorDavid Walsh <dwalsh@mozilla.com>
Tue, 14 May 2019 21:08:35 +0000
changeset 532694 8a76118beb7bfd13c4d8e01514f7905c62285a1b
parent 532693 632f66ae2b3993eb80d0692a0b029221a7a3e69b
child 532695 111e20704621e675651da2586a55fd7139610c27
push id11270
push userrgurzau@mozilla.com
push dateWed, 15 May 2019 15:07:19 +0000
treeherdermozilla-beta@571bc76da583 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1551198
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1551198 - Ensure project search DAMP test display UI r=ochameau Adds two methods to make the UI display and close for search Differential Revision: https://phabricator.services.mozilla.com/D30916
testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js
--- a/testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js
+++ b/testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js
@@ -98,12 +98,14 @@ async function stepDebuggerAndLog(tab, t
 
 async function testProjectSearch(tab, toolbox) {
   const panel = await toolbox.getPanelWhenReady("jsdebugger");
   const dbg = await createContext(panel);
   const cx = dbg.selectors.getContext(dbg.getState());
 
   dump("Executing project search\n");
   const test = runTest(`custom.jsdebugger.project-search.DAMP`);
+  await dbg.actions.setActiveSearch("project");
   await dbg.actions.searchSources(cx, "return");
+  await dbg.actions.closeActiveSearch();
   test.done();
   await garbageCollect();
 }