Bug 1421335 - Update test; r=nchevobbe
authorJan Odvarko <odvarko@gmail.com>
Mon, 11 Dec 2017 14:39:37 +0100
changeset 397777 787fbdc766c4b069b4779f79c09f22999889100e
parent 397776 eaf338dcf3ea3a1c4c3644cc4a1a2c2c988cbd9f
child 397778 33860782891dc901a397b2c2288253d19f8cb79d
push id57533
push userjodvarko@mozilla.com
push dateThu, 04 Jan 2018 15:47:40 +0000
treeherderautoland@787fbdc766c4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnchevobbe
bugs1421335
milestone59.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 1421335 - Update test; r=nchevobbe MozReview-Commit-ID: Far6gsV6SXd
devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_network_messages_expand.js
--- a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_network_messages_expand.js
+++ b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_network_messages_expand.js
@@ -140,25 +140,33 @@ async function openRequestBeforeUpdates(
 
   // Test all tabs in the network log.
   await testNetworkMessage(toolbox, messageNode);
 }
 
 // Panel testing helpers
 
 async function testNetworkMessage(toolbox, messageNode) {
+  await testStatusInfo(messageNode);
   await testHeaders(messageNode);
   await testCookies(messageNode);
   await testParams(messageNode);
   await testResponse(messageNode);
   await testTimings(messageNode);
   await testStackTrace(messageNode);
   await waitForLazyRequests(toolbox);
 }
 
+// Status Info
+
+function testStatusInfo(messageNode) {
+  let statusInfo = messageNode.querySelector(".status-info");
+  ok(statusInfo, "Status info is not empty");
+}
+
 // Headers
 
 function testEmptyHeaders(messageNode) {
   let emptyNotice = messageNode.querySelector("#headers-panel .empty-notice");
   ok(emptyNotice, "Headers tab is empty");
 }
 
 async function testHeaders(messageNode) {