Skip to content

Commit 5601044

Browse files
Add GUI test for search result "title"
1 parent d765b73 commit 5601044

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/rustdoc-gui/search-filter.goml

+3
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ goto: file://|DOC_PATH|/test_docs/index.html?search=test&filter-crate=lib2
4545
wait-for: "#crate-search"
4646
assert-property: ("#crate-search", {"value": "lib2"})
4747
assert-false: "#results .externcrate"
48+
49+
// Checking that the text for the "title" is correct (the "All" comes from the "<select>").
50+
assert-text: ("#search-settings", "Results for test in All", STARTS_WITH)

0 commit comments

Comments
 (0)