mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
Improve tests
This commit is contained in:
parent
f6c728f5e7
commit
e340478f5d
@ -1,5 +1,6 @@
|
||||
// This test is to ensure that the anchors (`§`) have the expected color.
|
||||
goto: file://|DOC_PATH|/test_docs/struct.HeavilyDocumentedStruct.html
|
||||
show-text: true
|
||||
|
||||
// This is needed to ensure that the text color is computed.
|
||||
show-text: true
|
||||
|
@ -1,9 +1,11 @@
|
||||
goto: file://|DOC_PATH|/test_docs/index.html
|
||||
show-text: true
|
||||
write: (".search-input", "test")
|
||||
// Waiting for the search results to appear...
|
||||
wait-for: "#titles"
|
||||
assert-text: ("#results .externcrate", "test_docs")
|
||||
text: (".search-input", "")
|
||||
|
||||
goto: file://|DOC_PATH|/test_docs/index.html
|
||||
// We now want to change the crate filter.
|
||||
click: "#crate-search"
|
||||
// We select "lib2" option then press enter to change the filter.
|
||||
|
Loading…
Reference in New Issue
Block a user