mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #2300 from MasterOfTheTiger/scratchjr-links
Use https for ScratchJR links
This commit is contained in:
commit
e776e67af0
6 changed files with 6 additions and 6 deletions
|
@ -80,7 +80,7 @@ const ConferenceFooter = () => (
|
|||
<a href="https://scratch.mit.edu">Scratch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.scratchjr.org/">ScratchJr</a>
|
||||
<a href="https://www.scratchjr.org/">ScratchJr</a>
|
||||
</li>
|
||||
</FlexRow>
|
||||
<FlexRow
|
||||
|
|
|
@ -23,7 +23,7 @@ const ConferenceFooter = props => (
|
|||
<a href="https://scratch.mit.edu">Scratch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.scratchjr.org/">ScratchJr</a>
|
||||
<a href="https://www.scratchjr.org/">ScratchJr</a>
|
||||
</li>
|
||||
</FlexRow>
|
||||
<FlexRow
|
||||
|
|
|
@ -99,7 +99,7 @@ const ConferenceFooter = props => (
|
|||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="http://www.scratchjr.org/"
|
||||
href="https://www.scratchjr.org/"
|
||||
rel="noopener noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
|
@ -186,7 +186,7 @@ const Footer = props => (
|
|||
</a>
|
||||
</dd>
|
||||
<dd>
|
||||
<a href="http://www.scratchjr.org/">
|
||||
<a href="https://www.scratchjr.org/">
|
||||
<FormattedMessage id="general.scratchJr" />
|
||||
</a>
|
||||
</dd>
|
||||
|
|
|
@ -262,7 +262,7 @@ describe('test Scratch Family links in footer', function () {
|
|||
.click();
|
||||
cy
|
||||
.url()
|
||||
.should('match', /^http:\/\/www\.scratchjr\.org\/?$/);
|
||||
.should('match', /^https:\/\/www\.scratchjr\.org\/?$/);
|
||||
});
|
||||
|
||||
it.skip('click Scratch Day', function (){
|
||||
|
|
|
@ -269,7 +269,7 @@ tap.test('clickScratchEdLink', options, t => {
|
|||
// SCRATCH JR (SCRATCHJR)
|
||||
tap.test('clickScratchJrLink', options, t => {
|
||||
const linkText = 'ScratchJr';
|
||||
const expectedUrl = 'http://www.scratchjr.org/';
|
||||
const expectedUrl = 'https://www.scratchjr.org/';
|
||||
clickFooterLinks(linkText).then(url => {
|
||||
t.equal(url, expectedUrl);
|
||||
t.end();
|
||||
|
|
Loading…
Reference in a new issue