Migrate search drop down to menu-panel component.

This commit is contained in:
Robin Ward
2015-08-26 16:55:01 -04:00
parent 3bc79f6885
commit d4b987ff32
26 changed files with 442 additions and 422 deletions

View File

@ -23,15 +23,8 @@ test("header", () => {
// Search
click("#search-button");
andThen(() => {
ok(exists("#search-dropdown:visible"), "after clicking a button search box opens");
not(exists("#search-dropdown .heading"), "initially, immediately after opening, search box is empty");
ok(exists(".search-menu:visible"), "after clicking a button search box opens");
not(exists(".search-menu .heading"), "initially, immediately after opening, search box is empty");
});
// Perform Search
// TODO how do I fix the fixture to be a POST instead of a GET @eviltrout
// fillIn("#search-term", "hello");
// andThen(() => {
// ok(exists("#search-dropdown .heading"), "when user completes a search, search box shows search results");
// equal(find("#search-dropdown .results a:first").attr("href"), "/t/hello-bar-integration-issues/17638", "there is a search result");
// });
});