fixed test for conference link; changed footer link to not involve redirect

This commit is contained in:
Ben Wheeler 2022-06-29 12:17:08 -04:00
parent 102d682627
commit d9d4b03261
2 changed files with 2 additions and 2 deletions

View file

@ -195,7 +195,7 @@ const Footer = props => (
</a>
</dd>
<dd>
<a href="/conference">
<a href="https://www.scratchfoundation.org/scratch-conference">
<FormattedMessage id="general.scratchConference" />
</a>
</dd>

View file

@ -136,7 +136,7 @@ describe('www-integration footer links', () => {
await clickText('Scratch Conference');
let url = await driver.getCurrentUrl();
let pathname = (new URL(url)).pathname;
expect(pathname).toMatch(/^\/conference\/2022\/?$/);
expect(pathname).toMatch(/^\/scratch-conference\/?$/);
});
});