diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-17 13:28:22 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-17 13:28:22 +0200 |
| commit | 56010449035eef9d80b8f76ee77b20b0a9d92e33 (patch) | |
| tree | 010186ec2196aab6cbc4445048dacc4b7b5dbb12 | |
| parent | d765b73a01870b45e2179e8a55ce1a406d8de248 (diff) | |
| download | rust-56010449035eef9d80b8f76ee77b20b0a9d92e33.tar.gz rust-56010449035eef9d80b8f76ee77b20b0a9d92e33.zip | |
Add GUI test for search result "title"
| -rw-r--r-- | src/test/rustdoc-gui/search-filter.goml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/search-filter.goml b/src/test/rustdoc-gui/search-filter.goml index aca8390dfb3..63fb860d77a 100644 --- a/src/test/rustdoc-gui/search-filter.goml +++ b/src/test/rustdoc-gui/search-filter.goml @@ -45,3 +45,6 @@ goto: file://|DOC_PATH|/test_docs/index.html?search=test&filter-crate=lib2 wait-for: "#crate-search" assert-property: ("#crate-search", {"value": "lib2"}) assert-false: "#results .externcrate" + +// Checking that the text for the "title" is correct (the "All" comes from the "<select>"). +assert-text: ("#search-settings", "Results for test in All", STARTS_WITH) |
