Merge pull request #6895 from benjiwheeler/fix-footer-links-test

fixed test for conference link; changed footer link to not involve redirect
This commit is contained in:
Benjamin Wheeler 2022-06-29 14:00:44 -04:00 committed by GitHub
commit c60ac9677d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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\/?$/);
});
});