From c02d060b9e835286886a695b4dccdf1eea6d35cf Mon Sep 17 00:00:00 2001 From: Dhruv Jain Date: Thu, 29 Oct 2020 23:41:06 +0530 Subject: [PATCH] Ref: Re-enable checking broken links in sponsors section for MozillaAllHands2017 event - Earlier the test was on FossasiaSummit2017 in which one sponsor link was broken so the test failed - Now we are checking for MozillaAllHands2017 so the test is moved after eventPage visits the MozillaAllHands2017 site Fixes #2362 --- test/sessionEventAndCoC.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/test/sessionEventAndCoC.js b/test/sessionEventAndCoC.js index d0ad10e5e..96649172d 100644 --- a/test/sessionEventAndCoC.js +++ b/test/sessionEventAndCoC.js @@ -188,15 +188,6 @@ describe("Running Selenium tests on Chrome Driver", function() { }); }); - xit('Checking broken links in of Sponsors section', function(done) { - eventPage.getSponsorsBrokenLinks().then(function(brokenLinksCount) { - assert.equal(brokenLinksCount, 0); - done(); - }).catch(function(err) { - done(err); - }); - }); - it('Checking the presence of ticket button', function(done) { eventPage.checkTicketButton().then(function() { done(); @@ -224,6 +215,14 @@ describe("Running Selenium tests on Chrome Driver", function() { }); }); + it('Checking broken links in of Sponsors section', function(done) { + eventPage.getSponsorsBrokenLinks().then(function(brokenLinksCount) { + assert.equal(brokenLinksCount, 0); + done(); + }).catch(function(err) { + done(err); + }); + }); }); describe('Testing Code of Conduct page', function(){