Bug 1583668 - Fix browser_rr_inspector-03.js failure, r=jlast.
authorBrian Hackett <bhackett1024@gmail.com>
Wed, 25 Sep 2019 00:43:17 +0000
changeset 494852 a4de402e0be634abe8c6ed4bbef21dd9455f118e
parent 494851 25a282bca05beec69e55e62eda0653a95386fcd2
child 494853 1db783e6fa4b349cca42a5cf5dca969a94d2f358
push id114131
push userdluca@mozilla.com
push dateThu, 26 Sep 2019 09:47:34 +0000
treeherdermozilla-inbound@1dc1a755079a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlast
bugs1583668
milestone71.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 1583668 - Fix browser_rr_inspector-03.js failure, r=jlast. Differential Revision: https://phabricator.services.mozilla.com/D47016
devtools/client/webreplay/mochitest/browser_rr_inspector-03.js
--- a/devtools/client/webreplay/mochitest/browser_rr_inspector-03.js
+++ b/devtools/client/webreplay/mochitest/browser_rr_inspector-03.js
@@ -33,16 +33,17 @@ add_task(async function() {
   });
 
   const { inspector, view } = await openComputedView();
   await checkBackgroundColor("body", "rgb(0, 128, 0)");
   await checkBackgroundColor("#maindiv", "rgb(0, 0, 255)");
 
   await addBreakpoint(dbg, "doc_inspector_styles.html", 11);
   await rewindToLine(dbg, 11);
+  await dbg.toolbox.selectTool("inspector");
   await checkBackgroundColor("#maindiv", "rgb(255, 0, 0)");
 
   await shutdownDebugger(dbg);
 
   async function checkBackgroundColor(node, color) {
     await selectNode(node, inspector);
 
     const value = getComputedViewProperty(view, "background-color").valueSpan;