From a398b1b31445af8bdf91bfc459a968e876cc9827 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:45:53 -0700 Subject: [PATCH] fix: update predicted DSA link to match actual location --- src/components/footer/www/footer.jsx | 2 +- test/integration/footer-links.test.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/footer/www/footer.jsx b/src/components/footer/www/footer.jsx index c6e9e616b..58a5fea7a 100644 --- a/src/components/footer/www/footer.jsx +++ b/src/components/footer/www/footer.jsx @@ -180,7 +180,7 @@ const Footer = props => (
- +
diff --git a/test/integration/footer-links.test.js b/test/integration/footer-links.test.js index e13af95a0..1efe5a3b7 100644 --- a/test/integration/footer-links.test.js +++ b/test/integration/footer-links.test.js @@ -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(); }); });