about summary refs log tree commit diff
path: root/tests/rustdoc-gui/search-input-mobile.goml
blob: a383d92d28802fef924e5ec41d83047f4f74f8ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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)
click: "#search-button"
wait-for: ".search-input"
assert: "input.search-input:focus"

go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
reload:
set-window-size: (750, 700)
click: "#search-button"
wait-for: ".search-input"
assert: "input.search-input:focus"