mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Merge pull request #2819 from BryceLTaylor/Update-Footer-Integration-Tests
Update the integration test for the Scratch Conference link in the fo…
This commit is contained in:
commit
699d37e38d
1 changed files with 2 additions and 2 deletions
|
@ -281,9 +281,9 @@ tap.test('clickScratchDayLink', options, t => {
|
|||
// SCRATCH CONFERENCE
|
||||
tap.test('clickScratchConferenceLink', options, t => {
|
||||
const linkText = 'Scratch Conference';
|
||||
const expectedHref = '/conference';
|
||||
const expectedHref = '/conference/20';
|
||||
clickFooterLinks(linkText).then(url => {
|
||||
t.equal(url.substr(-expectedHref.length), expectedHref);
|
||||
t.match(url.substr(-(expectedHref.length + 2)), expectedHref);
|
||||
t.end();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue