rust/tests/rustdoc-gui/search-input-mobile.goml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
471 B
Plaintext
Raw Normal View History

2021-02-25 21:05:02 +00:00
// Test to ensure that you can click on the search input, whatever the width.
// The PR which fixed it is: https://github.com/rust-lang/rust/pull/81592
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
set-window-size: (463, 700)
2021-02-25 21:05:02 +00:00
// We first check that the search input isn't already focused.
assert-false: ("input.search-input:focus")
click: "input.search-input"
reload:
set-window-size: (750, 700)
2021-02-25 21:05:02 +00:00
click: "input.search-input"
assert: ("input.search-input:focus")