From 35d76ef59b3361eef5bd44c2cd1e0a29db96599d Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Thu, 13 Dec 2018 21:12:16 -0500 Subject: [PATCH] Update tests --- test/integration/smoke-testing/test_footer_links.js | 8 ++++---- test/integration/smoke-testing/test_navbar_links.js | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/integration/smoke-testing/test_footer_links.js b/test/integration/smoke-testing/test_footer_links.js index 826fcef87..bd7e30b25 100644 --- a/test/integration/smoke-testing/test_footer_links.js +++ b/test/integration/smoke-testing/test_footer_links.js @@ -162,10 +162,10 @@ tap.test('clickStatisticsLink', options, t => { // ==== SUPPORT column ==== -// TIPS PAGE -tap.test('clickTipsPageLink', options, t => { - const linkText = 'Tips'; - const expectedHref = '/tips'; +// IDEAS PAGE +tap.test('clickIdeasPageLink', options, t => { + const linkText = 'Ideas'; + const expectedHref = '/ideas'; clickFooterLinks(linkText).then(url => { t.equal(url.substr(-expectedHref.length), expectedHref); t.end(); diff --git a/test/integration/smoke-testing/test_navbar_links.js b/test/integration/smoke-testing/test_navbar_links.js index e2683fcb8..632c6d9e9 100644 --- a/test/integration/smoke-testing/test_navbar_links.js +++ b/test/integration/smoke-testing/test_navbar_links.js @@ -57,9 +57,9 @@ tap.test('checkExploreLinkWhenSignedOut', function (t) { }); }); -tap.test('checkTipsLinkWhenSignedOut', function (t) { - var xPathLink = '//li[contains(@class, "link") and contains(@class, "tips")]/a'; - var expectedHref = '/tips'; +tap.test('checkIdeasLinkWhenSignedOut', function (t) { + var xPathLink = '//li[contains(@class, "link") and contains(@class, "ideas")]/a'; + var expectedHref = '/ideas'; driver.findElement(webdriver.By.xpath(xPathLink)) .then(function (element) { return element.getAttribute('href');