Skip to content

Commit 3274173

Browse files
committed
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?
1 parent 1b55d4a commit 3274173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/gui/search.goml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ assert-css: ("#mdbook-search-wrapper", {"display": "none"})
4141
press-key: 's'
4242
wait-for-css-false: ("#mdbook-search-wrapper", {"display": "none"})
4343
// We ensure the search bar has the focus.
44-
assert: "#mdbook-searchbar:focus"
44+
wait-for: "#mdbook-searchbar:focus"
4545
// Pressing a key will therefore update the search input.
4646
press-key: 't'
4747
assert-text: ("#mdbook-searchbar", "t")

0 commit comments

Comments
 (0)