Bug 1333385 - fix netmonitor b64 test after mc-merge;r=me a=tomcat
authorJulian Descottes <jdescottes@mozilla.com>
Fri, 27 Jan 2017 12:08:47 +0100
changeset 331366 07d7ecbf77e3
parent 331365 8dbe89935366
child 331373 5ada216a7dee
child 331437 5ab42a95cc25
child 342177 37c202a58003
push id31267
push usercbook@mozilla.com
push dateFri, 27 Jan 2017 11:12:47 +0000
treeherdermozilla-central@07d7ecbf77e3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, tomcat
bugs1333385
milestone54.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 1333385 - fix netmonitor b64 test after mc-merge;r=me a=tomcat MozReview-Commit-ID: EndUt4g5BK2
devtools/client/netmonitor/test/browser_net_json-b64.js
--- a/devtools/client/netmonitor/test/browser_net_json-b64.js
+++ b/devtools/client/netmonitor/test/browser_net_json-b64.js
@@ -18,23 +18,23 @@ add_task(function* () {
   RequestsMenu.lazyUpdate = false;
 
   let wait = waitForNetworkEvents(monitor, 1);
   yield ContentTask.spawn(tab.linkedBrowser, {}, function* () {
     content.wrappedJSObject.performRequests();
   });
   yield wait;
 
-  wait = waitForDOM(document, "#panel-3");
+  wait = waitForDOM(document, "#response-panel");
   EventUtils.sendMouseEvent({ type: "mousedown" },
     document.getElementById("details-pane-toggle"));
-  document.querySelector("#tab-3 a").click();
+  document.querySelector("#response-tab").click();
   yield wait;
 
-  let tabpanel = document.querySelector("#panel-3");
+  let tabpanel = document.querySelector("#response-panel");
 
   is(tabpanel.querySelector(".response-error-header") === null, true,
     "The response error header doesn't have the intended visibility.");
   let jsonView = tabpanel.querySelector(".tree-section .treeLabel") || {};
   is(jsonView.textContent === L10N.getStr("jsonScopeName"), true,
     "The response json view has the intended visibility.");
   is(tabpanel.querySelector(".editor-mount iframe") === null, true,
     "The response editor doesn't have the intended visibility.");