DEV: Re-enable "remove featured link" test (#9550)

It was disabled in ac4b4e30dc
This commit is contained in:
Jarek Radosz 2020-04-27 17:54:07 +02:00 committed by GitHub
parent f95609ae23
commit fb20b57057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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