Merge pull request #2715 from cpradio/master

UX: Add focus to menu only if it comes from a keyboard shortcut and improve keyboard functionality for search
This commit is contained in:
Neil Lalonde
2014-08-29 17:04:52 -04:00
4 changed files with 15 additions and 29 deletions

View File

@@ -39,6 +39,6 @@ test("header", function() {
fillIn("#search-term", "hello");
andThen(function() {
ok(exists("#search-dropdown .heading"), "when user completes a search, search box shows search results");
equal(find("#search-dropdown .selected a").attr("href"), "some-url", "the first search result is selected");
equal(find("#search-dropdown a:not(.filter):first").attr("href"), "some-url", "there is a search result");
});
});