Update search test
This commit is contained in:
parent
2fa13cf4e0
commit
dc6b0a6e58
1 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue