Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
cwillisf committed Jan 29, 2025
2 parents d31e705 + 80e0884 commit 104f74b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

jobs:
build-and-test-and-maybe-deploy:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
environment: >-
${{
(
Expand Down Expand Up @@ -59,8 +59,8 @@ jobs:
- name: setup Python
uses: actions/setup-python@v5
with:
python-version: '^3.5'
- run: pip install s3cmd==2.3.0
python-version: '3.12'
- run: pip install s3cmd==2.4.0
- run: npm --production=false ci
- run: mkdir -p ./test/results
- name: lint
Expand Down
5 changes: 5 additions & 0 deletions src/components/footer/www/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ const Footer = props => (
<FormattedMessage id="general.dsa" />
</a>
</dd>
<dd>
<a href="https://accessibility.mit.edu/">
<FormattedMessage id="general.mitAccessibility" />
</a>
</dd>
</dl>

<dl>
Expand Down
1 change: 1 addition & 0 deletions src/l10n.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"general.learnMore": "Learn More",
"general.male": "Male",
"general.messages": "Messages",
"general.mitAccessibility": "MIT Accessibility",
"general.month": "Month",
"general.monthJanuary": "January",
"general.monthFebruary": "February",
Expand Down
7 changes: 7 additions & 0 deletions test/integration/footer-links.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ describe('www-integration footer links', () => {
const pocTextVisible = await pocText.isDisplayed();
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
Expand Down

0 comments on commit 104f74b

Please sign in to comment.