2021-02-25 22:05:02 +01: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
|
2023-04-11 19:11:34 +02:00
|
|
|
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
|
|
|
|
|
set-window-size: (463, 700)
|
2024-11-22 12:58:20 -07:00
|
|
|
click: "#search-button"
|
|
|
|
|
wait-for: ".search-input"
|
|
|
|
|
assert: "input.search-input:focus"
|
|
|
|
|
|
|
|
|
|
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
|
2021-02-25 22:05:02 +01:00
|
|
|
reload:
|
2023-04-11 19:11:34 +02:00
|
|
|
set-window-size: (750, 700)
|
2024-11-22 12:58:20 -07:00
|
|
|
click: "#search-button"
|
|
|
|
|
wait-for: ".search-input"
|
|
|
|
|
assert: "input.search-input:focus"
|