Skip to content

Commit dc6b0a6

Browse files
Update search test
1 parent 2fa13cf commit dc6b0a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/gui/search.goml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ go-to: |DOC_PATH| + "index.html"
3636
assert: "#search-wrapper #searchbar"
3737
assert-css: ("#search-wrapper", {"display": "none"})
3838

39-
// Now we make the search input appear with the `S` shortcut.
40-
press-key: 'S'
41-
wait-for-css: ("#search-wrapper", {"display": "block"})
39+
// Now we make sure the search input appear with the `S` shortcut.
40+
press-key: 's'
41+
wait-for-css-false: ("#search-wrapper", {"display": "none"})
4242
// We ensure the search bar has the focus.
4343
assert: "#searchbar:focus"
4444

0 commit comments

Comments
 (0)