remove the test that only works in a browser

This commit is contained in:
Neil Lalonde 2017-11-22 15:23:06 -05:00
parent 6c86e0c94a
commit ac4b4e30dc
1 changed files with 6 additions and 5 deletions

View File

@ -195,9 +195,10 @@ QUnit.test("remove featured link", assert => {
assert.ok(exists('.title-wrapper .remove-featured-link'), 'link to remove featured link'); assert.ok(exists('.title-wrapper .remove-featured-link'), 'link to remove featured link');
}); });
click('.title-wrapper .remove-featured-link'); // this test only works in a browser:
click('.title-wrapper .submit-edit'); // click('.title-wrapper .remove-featured-link');
andThen(() => { // click('.title-wrapper .submit-edit');
assert.ok(!exists('.title-wrapper .topic-featured-link'), 'link is gone'); // andThen(() => {
}); // assert.ok(!exists('.title-wrapper .topic-featured-link'), 'link is gone');
// });
}); });