mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 19:08:03 -05:00
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:
commit
c60ac9677d
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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\/?$/);
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue