]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-gui/search-input-mobile.goml
Rollup merge of #104252 - faern:stabilize-const_socketaddr, r=JohnTitor
[rust.git] / tests / rustdoc-gui / search-input-mobile.goml
1 // Test to ensure that you can click on the search input, whatever the width.
2 // The PR which fixed it is: https://github.com/rust-lang/rust/pull/81592
3 goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
4 size: (463, 700)
5 // We first check that the search input isn't already focused.
6 assert-false: ("input.search-input:focus")
7 click: "input.search-input"
8 reload:
9 size: (750, 700)
10 click: "input.search-input"
11 assert: ("input.search-input:focus")