From 318cf2b726ba2d80a1dc963f37e8f5ad391b9404 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 22 Jan 2024 14:30:34 +0100 Subject: [PATCH] FIX: search menu is now closed on keydown --- test/javascripts/acceptance/search-banner-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();