From dc6b0a6e5871e8979035141f70f8be64e04547da Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 31 May 2025 09:55:58 +0200 Subject: [PATCH] Update search test --- tests/gui/search.goml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/gui/search.goml b/tests/gui/search.goml index ea829203..a49d9f7b 100644 --- a/tests/gui/search.goml +++ b/tests/gui/search.goml @@ -36,9 +36,9 @@ go-to: |DOC_PATH| + "index.html" assert: "#search-wrapper #searchbar" assert-css: ("#search-wrapper", {"display": "none"}) -// Now we make the search input appear with the `S` shortcut. -press-key: 'S' -wait-for-css: ("#search-wrapper", {"display": "block"}) +// Now we make sure the search input appear with the `S` shortcut. +press-key: 's' +wait-for-css-false: ("#search-wrapper", {"display": "none"}) // We ensure the search bar has the focus. assert: "#searchbar:focus"