mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-28 05:41:58 -04:00
Merge pull request #2688 from BryceLTaylor/Update-Footer-Link-Tests
Remove Scratch Wiki test from integration tests
This commit is contained in:
commit
a454f71032
1 changed files with 2 additions and 10 deletions
|
@ -18,7 +18,7 @@ const rootUrl = process.env.ROOT_URL || 'https://scratch.ly';
|
|||
const options = {timeout: 30000};
|
||||
|
||||
// number of tests in the plan
|
||||
tap.plan(25);
|
||||
tap.plan(24);
|
||||
|
||||
tap.tearDown(function () {
|
||||
// quit the instance of the browser
|
||||
|
@ -140,15 +140,7 @@ tap.test('clickDiscussionForumsLink', options, t => {
|
|||
});
|
||||
});
|
||||
|
||||
// SCRATCH WIKI
|
||||
tap.test('clickScratchWikiLink', options, t => {
|
||||
const linkText = 'Scratch Wiki';
|
||||
const expectedUrl = 'https://en.scratch-wiki.info/wiki/Scratch_Wiki_Home';
|
||||
clickFooterLinks(linkText).then(url => {
|
||||
t.equal(url, expectedUrl);
|
||||
t.end();
|
||||
});
|
||||
});
|
||||
// SCRATCH WIKI test has been removed.
|
||||
|
||||
// STATISTICS
|
||||
tap.test('clickStatisticsLink', options, t => {
|
||||
|
|
Loading…
Add table
Reference in a new issue