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: "#search-wrapper #searchbar"
|
||||||
assert-css: ("#search-wrapper", {"display": "none"})
|
assert-css: ("#search-wrapper", {"display": "none"})
|
||||||
|
|
||||||
// Now we make the search input appear with the `S` shortcut.
|
// Now we make sure the search input appear with the `S` shortcut.
|
||||||
press-key: 'S'
|
press-key: 's'
|
||||||
wait-for-css: ("#search-wrapper", {"display": "block"})
|
wait-for-css-false: ("#search-wrapper", {"display": "none"})
|
||||||
// We ensure the search bar has the focus.
|
// We ensure the search bar has the focus.
|
||||||
assert: "#searchbar:focus"
|
assert: "#searchbar:focus"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue