Bug 1421335 - Update test; r=nchevobbe
authorJan Odvarko <odvarko@gmail.com>
Mon, 11 Dec 2017 14:39:37 +0100
changeset 449515 bd91c94565e31f70b1a8a63a0f2bbff962bf5d21
parent 449514 7f796e33aa5bd233d64e9d3eb466e62ca91af99e
child 449516 42358e64b1cc6224a4dfd9592b722aef74facbc0
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [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) {