fix: update predicted DSA link to match actual location

This commit is contained in:
Christopher Willis-Ford 2024-10-16 10:45:53 -07:00
parent 4ba9c20c1f
commit a398b1b314
2 changed files with 6 additions and 2 deletions

View file

@ -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>

View file

@ -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();
});
});