Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
4b95b323
Unverified
Commit
4b95b323
authored
Jul 29, 2020
by
Bryce Taylor
Committed by
GitHub
Jul 29, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4241 from BryceLTaylor/address-skipped-tests
Removed skipped footer integration tests
parents
2d00bc2d
b24fa33c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
67 deletions
+7
-67
test/integration-legacy/smoke-testing/test_footer_links.js
test/integration-legacy/smoke-testing/test_footer_links.js
+7
-67
No files found.
test/integration-legacy/smoke-testing/test_footer_links.js
View file @
4b95b323
...
@@ -140,8 +140,6 @@ tap.test('clickDiscussionForumsLink', options, t => {
...
@@ -140,8 +140,6 @@ tap.test('clickDiscussionForumsLink', options, t => {
});
});
});
});
// SCRATCH WIKI test has been removed.
// STATISTICS
// STATISTICS
tap
.
test
(
'
clickStatisticsLink
'
,
options
,
t
=>
{
tap
.
test
(
'
clickStatisticsLink
'
,
options
,
t
=>
{
const
linkText
=
'
Statistics
'
;
const
linkText
=
'
Statistics
'
;
...
@@ -194,28 +192,6 @@ tap.test('clickContactUsLink', options, t => {
...
@@ -194,28 +192,6 @@ tap.test('clickContactUsLink', options, t => {
});
});
});
});
// skip this test since it points to an external site
// SCRATCH STORE
tap
.
test
(
'
clickScratchStoreLink
'
,
{
skip
:
true
},
t
=>
{
const
linkText
=
'
Scratch Store
'
;
const
expectedUrl
=
'
https://scratch-foundation.myshopify.com/
'
;
clickFooterLinks
(
linkText
).
then
(
url
=>
{
t
.
equal
(
url
,
expectedUrl
);
t
.
end
();
});
});
// skip this test since it points to an external site
// DONATE
tap
.
test
(
'
clickDonateLink
'
,
{
skip
:
true
},
t
=>
{
const
linkText
=
'
Donate
'
;
const
expectedUrl
=
'
https://secure.donationpay.org/scratchfoundation/
'
;
clickFooterLinks
(
linkText
).
then
(
url
=>
{
t
.
equal
(
url
,
expectedUrl
);
t
.
end
();
});
});
// ==== LEGAL column ====
// ==== LEGAL column ====
// TERMS OF USE
// TERMS OF USE
...
@@ -249,40 +225,6 @@ tap.test('clickDMCALink', options, t => {
...
@@ -249,40 +225,6 @@ tap.test('clickDMCALink', options, t => {
});
});
// ==== SCRATCH FAMILY column ====
// ==== SCRATCH FAMILY column ====
// skip this test since it points to an external site
// SCRATCH ED (SCRATCHED)
tap
.
test
(
'
clickScratchEdLink
'
,
{
skip
:
true
},
t
=>
{
const
linkText
=
'
ScratchEd
'
;
const
expectedUrl
=
'
http://scratched.gse.harvard.edu/
'
;
clickFooterLinks
(
linkText
).
then
(
url
=>
{
t
.
equal
(
url
,
expectedUrl
);
t
.
end
();
});
});
// skip this test since it points to an external site
// SCRATCH JR (SCRATCHJR)
tap
.
test
(
'
clickScratchJrLink
'
,
{
skip
:
true
},
t
=>
{
const
linkText
=
'
ScratchJr
'
;
const
expectedUrl
=
'
https://www.scratchjr.org/
'
;
clickFooterLinks
(
linkText
).
then
(
url
=>
{
t
.
equal
(
url
,
expectedUrl
);
t
.
end
();
});
});
// skip this test since it points to an external site
// SCRATCH DAY
tap
.
test
(
'
clickScratchDayLink
'
,
{
skip
:
true
},
t
=>
{
const
linkText
=
'
Scratch Day
'
;
const
expectedUrl
=
'
https://day.scratch.mit.edu/
'
;
clickFooterLinks
(
linkText
).
then
(
url
=>
{
t
.
equal
(
url
,
expectedUrl
);
t
.
end
();
});
});
// SCRATCH CONFERENCE
// SCRATCH CONFERENCE
tap
.
test
(
'
clickScratchConferenceLink
'
,
options
,
t
=>
{
tap
.
test
(
'
clickScratchConferenceLink
'
,
options
,
t
=>
{
const
linkText
=
'
Scratch Conference
'
;
const
linkText
=
'
Scratch Conference
'
;
...
@@ -292,14 +234,12 @@ tap.test('clickScratchConferenceLink', options, t => {
...
@@ -292,14 +234,12 @@ tap.test('clickScratchConferenceLink', options, t => {
t
.
end
();
t
.
end
();
});
});
});
});
// The following links in are skipped because they are not on scratch.mit.edu
// skip this test since it points to an external site
// SCRATCH STORE
// DONATE
// SCRATCH WIKI
// SCRATCH ED (SCRATCHED)
// SCRATCH JR (SCRATCHJR)
// SCRATCH DAY
// SCRATCH FOUNDATION
// SCRATCH FOUNDATION
tap
.
test
(
'
clickScratchFoundationLink
'
,
{
skip
:
true
},
t
=>
{
const
linkText
=
'
Scratch Foundation
'
;
const
expectedUrl
=
'
https://www.scratchfoundation.org/
'
;
clickFooterLinks
(
linkText
).
then
(
url
=>
{
t
.
equal
(
url
,
expectedUrl
);
t
.
end
();
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment