From bf28fc26326a4893e1b4ad50d90e51db5caca4b6 Mon Sep 17 00:00:00 2001 From: Gavin Lazar Suntop Date: Wed, 27 Nov 2019 10:39:03 -0800 Subject: [PATCH 1/2] fixing a broken link test --- test/browser/browser_discovery_render.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/browser/browser_discovery_render.js b/test/browser/browser_discovery_render.js index 53290f7d2a..7b29ca2e18 100644 --- a/test/browser/browser_discovery_render.js +++ b/test/browser/browser_discovery_render.js @@ -14,10 +14,10 @@ async function before({ pushPrefs }) { test_newtab({ before, test: async function test_render_hardcoded() { - const topSites = await ContentTaskUtils.waitForCondition(() => - content.document.querySelector(".ds-top-sites") + const learnMoreLink = await ContentTaskUtils.waitForCondition(() => + content.document.querySelector(".ds-layout a[href$=new_tab_learn_more]") ); - ok(topSites, "Got the discovery stream top sites section"); + ok(learnMoreLink, "Got the discovery stream learn more link"); const learnMore = content.document.querySelector( ".ds-layout a[href$=new_tab_learn_more]" From ab39ee7bb9147f7b76fd68ec16834a50fc33842e Mon Sep 17 00:00:00 2001 From: Nan Jiang Date: Wed, 27 Nov 2019 14:17:11 -0500 Subject: [PATCH 2/2] (no bug) - Fix TravisCI (#5389) --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 597ee16399..ad28b08091 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ before_install: - "export DISPLAY=:99.0" - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR" - export PATH="$PATH:$HOME/.rvm/bin" + - export PATH="$PATH:./node_modules/.bin" - sleep 3 install: