FIX: topic title in search contains data-topic-id (#9435)
Data topic id is required by the discourse-encrypt plugin. Related to https://github.com/discourse/discourse-encrypt/pull/12
This commit is contained in:
committed by
GitHub
parent
e8e764c064
commit
5a60a4233e
@@ -28,6 +28,10 @@ QUnit.test("search", async assert => {
|
||||
await fillIn("#search-term", "dev");
|
||||
await keyEvent("#search-term", "keyup", 16);
|
||||
assert.ok(exists(".search-menu .results ul li"), "it shows results");
|
||||
assert.ok(
|
||||
exists(".search-menu .results ul li .topic-title[data-topic-id]"),
|
||||
"topic has data-topic-id"
|
||||
);
|
||||
|
||||
await click(".show-help");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user