mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add the integration test for search back using a fixture.
This commit is contained in:
@@ -36,10 +36,9 @@ test("header", function() {
|
||||
});
|
||||
|
||||
// Perform Search
|
||||
// TODO: @Robin how do I update this? can we have some sort of comment at the top?
|
||||
// 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 a:not(.filter):first").attr("href"), "some-url", "there is a search result");
|
||||
// });
|
||||
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 a:not(.filter):first").attr("href"), "/t/hello-bar-integration-issues/17638", "there is a search result");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user