mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
fixed test for conference link; changed footer link to not involve redirect
This commit is contained in:
parent
102d682627
commit
d9d4b03261
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