2021-02-25 15:05:02 -06: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
|
2022-10-07 13:17:05 -05:00
|
|
|
goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
|
2021-02-25 15:05:02 -06:00
|
|
|
size: (463, 700)
|
|
|
|
// We first check that the search input isn't already focused.
|
|
|
|
assert-false: ("input.search-input:focus")
|
|
|
|
click: "input.search-input"
|
|
|
|
reload:
|
|
|
|
size: (750, 700)
|
|
|
|
click: "input.search-input"
|
|
|
|
assert: ("input.search-input:focus")
|