mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Search term scoped to topic should be highlighted in widget dom era.
https://meta.discourse.org/t/highlight-the-search-results/10322/4?u=tgxworld
This commit is contained in:
@@ -69,6 +69,11 @@ QUnit.test("Search with context", assert => {
|
||||
|
||||
andThen(() => {
|
||||
assert.ok(exists('.search-menu .results ul li'), 'it shows results');
|
||||
|
||||
assert.ok(
|
||||
exists('.cooked span.highlight-strong'),
|
||||
'it should highlight the search term'
|
||||
);
|
||||
});
|
||||
|
||||
visit("/");
|
||||
|
||||
Reference in New Issue
Block a user