From 327417373fcbe33f27205bf674b7dd4702b7398e Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 27 Aug 2025 15:15:08 -0700 Subject: [PATCH] Try to adjust search test to pass in CI This test is failing on CI. I don't know why, as I cannot reproduce locally. Perhaps it is due to the update to browser-ui-test? Or perhaps some events from the new nav bar are delaying something? --- tests/gui/search.goml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gui/search.goml b/tests/gui/search.goml index 6ff9be33..145bbd1e 100644 --- a/tests/gui/search.goml +++ b/tests/gui/search.goml @@ -41,7 +41,7 @@ assert-css: ("#mdbook-search-wrapper", {"display": "none"}) press-key: 's' wait-for-css-false: ("#mdbook-search-wrapper", {"display": "none"}) // We ensure the search bar has the focus. -assert: "#mdbook-searchbar:focus" +wait-for: "#mdbook-searchbar:focus" // Pressing a key will therefore update the search input. press-key: 't' assert-text: ("#mdbook-searchbar", "t")