Skip to content

Commit

Permalink
chore: Re-enable checking broken links in sponsors section (#2372)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
dhruvjain99 authored Oct 30, 2020
1 parent cc2b8d2 commit acdbc05
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions test/sessionEventAndCoC.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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(){
Expand Down

0 comments on commit acdbc05

Please sign in to comment.