Bug 1315688 - Fix browser_toolbox_remoteness_change.js assertion on Aurora. r=jryans
authorAlexandre Poirot <poirot.alex@gmail.com>
Mon, 07 Nov 2016 10:21:16 -0800
changeset 348236 c1a71be7ea59dbd92f3b16a98c3e3185dc26ee37
parent 348235 0c810988abdcd3dea1c826bff47b47ecb9c6548b
child 348237 e32d64d47c5212727f0201c2911477045512f6e1
push id10298
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:33:03 +0000
treeherdermozilla-aurora@7e29173b1641 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjryans
bugs1315688
milestone52.0a1
Bug 1315688 - Fix browser_toolbox_remoteness_change.js assertion on Aurora. r=jryans MozReview-Commit-ID: 2qEUm1vzZPO
devtools/client/framework/test/browser_toolbox_remoteness_change.js
--- a/devtools/client/framework/test/browser_toolbox_remoteness_change.js
+++ b/devtools/client/framework/test/browser_toolbox_remoteness_change.js
@@ -33,10 +33,11 @@ add_task(function* () {
 
   info("Waiting for the new toolbox to be ready");
   yield toolbox.once("ready");
 
   info("Veryify we are inspecting the new document");
   let console = yield toolbox.selectTool("webconsole");
   let { jsterm } = console.hud;
   let url = yield jsterm.execute("document.location.href");
-  is(url.textContent, URL_2, "The console inspects the second document");
+  // Uses includes as the old console frontend prints a timestamp
+  ok(url.textContent.includes(URL_2), "The console inspects the second document");
 });