Commit f4f2d3f0 authored by Robert Strong's avatar Robert Strong
Browse files

Bug 1555893 - The what's new page test should only run when building with MOZ_UPDATER. r=bytesized

Also fixes an indentation issue in browser_whats_new_page.js

Differential Revision: https://phabricator.services.mozilla.com/D33248

--HG--
extra : moz-landing-system : lando
parent c73bd5d5
......@@ -92,9 +92,13 @@ EXTRA_JS_MODULES += [
BROWSER_CHROME_MANIFESTS += [
'safebrowsing/content/test/browser.ini',
'tests/browser/browser.ini',
'tests/browser/whats_new_page/browser.ini'
]
if CONFIG['MOZ_UPDATER']:
BROWSER_CHROME_MANIFESTS += [
'tests/browser/whats_new_page/browser.ini',
]
XPCSHELL_TESTS_MANIFESTS += [
'tests/unit/xpcshell.ini'
]
......@@ -23,7 +23,7 @@ add_task(async function whats_new_page() {
gBrowser.selectedBrowser.currentURI.spec == "https://example.com/"),
"Waiting for the expected page to reopen");
is(gBrowser.selectedBrowser.currentURI.spec, "https://example.com/",
"The what's new page's url should equal https://example.com/");
"The what's new page's url should equal https://example.com/");
gBrowser.removeTab(gBrowser.selectedTab);
// Leave no trace. Since this test modifies its support files put them back in
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment