Add test to ensure the result descripton is correctly handling codeblocks
This commit is contained in:
parent
4ca7a1119e
commit
314ef592e2
5
src/test/rustdoc-gui/search-result-description.goml
Normal file
5
src/test/rustdoc-gui/search-result-description.goml
Normal file
@ -0,0 +1,5 @@
|
||||
// This test is to ensure that the codeblocks are correctly rendered in the search results.
|
||||
goto: file://|DOC_PATH|/test_docs/index.html?search=some_more_function
|
||||
// Waiting for the search results to appear...
|
||||
wait-for: "#titles"
|
||||
assert: (".search-results .desc code", "format!")
|
Loading…
x
Reference in New Issue
Block a user