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?
This commit is contained in:
parent
1b55d4a389
commit
327417373f
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue