From 5e36e375ca0affc7bf1addbdc4090425d1b16f3c Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Fri, 18 Nov 2016 12:43:45 -0500 Subject: [PATCH] Fix test failure for notification prompt There is a race condition with titlemode caused by navigating to about:newtab where it remains in urlbar mode. But the purpose of this test isn't to handle that, and navigating to about:newtab is not commonly done by users. So just adjusting the test to avoid that Auditors: @diracdeltas --- test/components/notificationBarTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/components/notificationBarTest.js b/test/components/notificationBarTest.js index b3e4688a460..c0c69902211 100644 --- a/test/components/notificationBarTest.js +++ b/test/components/notificationBarTest.js @@ -84,7 +84,7 @@ describe('notificationBar', function () { }) yield this.app.client .tabByIndex(0) - .loadUrl(Brave.newTabUrl) + .loadUrl(Brave.server.url('page1.html')) yield this.app.client .loadUrl(this.notificationUrl) .windowByUrl(Brave.browserWindowUrl)