test: add test for MIT Accessibility link

This commit is contained in:
Christopher Willis-Ford 2025-01-27 08:37:37 -08:00
parent fdfc7c70c0
commit 1ea4dd54a4

View file

@ -171,6 +171,13 @@ describe('www-integration footer links', () => {
const pocTextVisible = await pocText.isDisplayed(); const pocTextVisible = await pocText.isDisplayed();
expect(pocTextVisible).toBeTruthy(); expect(pocTextVisible).toBeTruthy();
}); });
test('click MIT Accessibility link', async () => {
await clickText('MIT Accessibility');
await waitUntilDocumentReady();
const url = await driver.getCurrentUrl();
expect(url).toBe('https://accessibility.mit.edu/');
});
}); });
// The following links in the footer are skipped because they are not part of scratch-www // The following links in the footer are skipped because they are not part of scratch-www