1 goto: file://|DOC_PATH|/test_docs/index.html
3 write: (".search-input", "test")
4 // Waiting for the search results to appear...
6 assert-text: ("#results .externcrate", "test_docs")
8 goto: file://|DOC_PATH|/test_docs/index.html
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"
14 // We now make the search again.
15 write: (".search-input", "test")
16 // Waiting for the search results to appear...
18 // We check that there is no more "test_docs" appearing.
19 assert-false: "#results .externcrate"