diff --git a/test/javascripts/integration/header-anonymous-test.js.es6 b/test/javascripts/integration/header-anonymous-test.js.es6 index 3a9d37912..f1b1daa1c 100644 --- a/test/javascripts/integration/header-anonymous-test.js.es6 +++ b/test/javascripts/integration/header-anonymous-test.js.es6 @@ -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:first").attr("href"), "some-url", "there is a search result"); }); });