Skip to content

Commit

Permalink
fix: update predicted DSA link to match actual location
Browse files Browse the repository at this point in the history
  • Loading branch information
cwillisf committed Oct 16, 2024
1 parent 4ba9c20 commit a398b1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/footer/www/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
6 changes: 5 additions & 1 deletion test/integration/footer-links.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('[email protected]'); // shouldn't change with localization
const pocTextVisible = await pocText.isDisplayed();
expect(pocTextVisible).toBeTruthy();
});
});

Expand Down

0 comments on commit a398b1b

Please sign in to comment.