diff --git a/test/javascripts/acceptance/search-banner-test.js b/test/javascripts/acceptance/search-banner-test.js index 7ecd0f1..b0170b1 100644 --- a/test/javascripts/acceptance/search-banner-test.js +++ b/test/javascripts/acceptance/search-banner-test.js @@ -34,7 +34,7 @@ acceptance("Discourse Search Banner", function (needs) { await triggerKeyEvent( ".custom-search-banner #search-term", - "keyup", + "keydown", "Escape" ); assert.dom(".custom-search-banner .results").doesNotExist();