mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-24 08:08:18 -05:00
fix: update predicted DSA link to match actual location
This commit is contained in:
parent
4ba9c20c1f
commit
a398b1b314
2 changed files with 6 additions and 2 deletions
|
@ -180,7 +180,7 @@ const Footer = props => (
|
|||
</a>
|
||||
</dd>
|
||||
<dd>
|
||||
<a href="https://www.scratchfoundation.org/DSA/">
|
||||
<a href="https://www.scratchfoundation.org/dsa/">
|
||||
<FormattedMessage id="general.dsa" />
|
||||
</a>
|
||||
</dd>
|
||||
|
|
|
@ -165,7 +165,11 @@ describe('www-integration footer links', () => {
|
|||
await clickText('DSA requirements');
|
||||
await waitUntilDocumentReady();
|
||||
const url = await driver.getCurrentUrl();
|
||||
expect(url).toMatch(/^https:\/\/www.scratchfoundation.org\/DSA\/$/);
|
||||
expect(url).toBe('https://www.scratchfoundation.org/dsa/');
|
||||
|
||||
const pocText = await findText('DSA-PoC@scratch.org'); // shouldn't change with localization
|
||||
const pocTextVisible = await pocText.isDisplayed();
|
||||
expect(pocTextVisible).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue