mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:13:16 +08:00
remove the test that only works in a browser
This commit is contained in:
parent
6c86e0c94a
commit
ac4b4e30dc
|
@ -195,9 +195,10 @@ QUnit.test("remove featured link", assert => {
|
|||
assert.ok(exists('.title-wrapper .remove-featured-link'), 'link to remove featured link');
|
||||
});
|
||||
|
||||
click('.title-wrapper .remove-featured-link');
|
||||
click('.title-wrapper .submit-edit');
|
||||
andThen(() => {
|
||||
assert.ok(!exists('.title-wrapper .topic-featured-link'), 'link is gone');
|
||||
});
|
||||
// this test only works in a browser:
|
||||
// click('.title-wrapper .remove-featured-link');
|
||||
// click('.title-wrapper .submit-edit');
|
||||
// andThen(() => {
|
||||
// assert.ok(!exists('.title-wrapper .topic-featured-link'), 'link is gone');
|
||||
// });
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user