Improve tests
This commit is contained in:
parent
f6c728f5e7
commit
e340478f5d
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
// This test is to ensure that the anchors (`§`) have the expected color.
|
// This test is to ensure that the anchors (`§`) have the expected color.
|
||||||
goto: file://|DOC_PATH|/test_docs/struct.HeavilyDocumentedStruct.html
|
goto: file://|DOC_PATH|/test_docs/struct.HeavilyDocumentedStruct.html
|
||||||
|
show-text: true
|
||||||
|
|
||||||
// This is needed to ensure that the text color is computed.
|
// This is needed to ensure that the text color is computed.
|
||||||
show-text: true
|
show-text: true
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
goto: file://|DOC_PATH|/test_docs/index.html
|
goto: file://|DOC_PATH|/test_docs/index.html
|
||||||
|
show-text: true
|
||||||
write: (".search-input", "test")
|
write: (".search-input", "test")
|
||||||
// Waiting for the search results to appear...
|
// Waiting for the search results to appear...
|
||||||
wait-for: "#titles"
|
wait-for: "#titles"
|
||||||
assert-text: ("#results .externcrate", "test_docs")
|
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.
|
// We now want to change the crate filter.
|
||||||
click: "#crate-search"
|
click: "#crate-search"
|
||||||
// We select "lib2" option then press enter to change the filter.
|
// We select "lib2" option then press enter to change the filter.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue