FEATURE: show tags in search results

This commit is contained in:
Neil Lalonde
2017-08-25 11:52:18 -04:00
parent cdcc5d6174
commit 2c56f8df7c
14 changed files with 162 additions and 2 deletions
@@ -25,6 +25,18 @@ QUnit.test("search", (assert) => {
});
});
QUnit.test("search for a tag", (assert) => {
visit("/");
click('#search-button');
fillIn('#search-term', 'evil');
keyEvent('#search-term', 'keyup', 16);
andThen(() => {
assert.ok(exists('.search-menu .results ul li'), 'it shows results');
});
});
QUnit.test("search scope checkbox", assert => {
visit("/c/bug");
click('#search-button');