]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/search-filter.goml
Rollup merge of #92743 - bjorn3:less_symbol_intern, r=camelid
[rust.git] / src / test / rustdoc-gui / search-filter.goml
1 goto: file://|DOC_PATH|/test_docs/index.html
2 show-text: true
3 write: (".search-input", "test")
4 // Waiting for the search results to appear...
5 wait-for: "#titles"
6 assert-text: ("#results .externcrate", "test_docs")
7
8 wait-for: "#crate-search"
9 // We now want to change the crate filter.
10 click: "#crate-search"
11 // We select "lib2" option then press enter to change the filter.
12 press-key: "ArrowDown"
13 press-key: "Enter"
14 // Waiting for the search results to appear...
15 wait-for: "#titles"
16 // We check that there is no more "test_docs" appearing.
17 assert-false: "#results .externcrate"