]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/search-result-keyword.goml
Rollup merge of #91834 - GuillaumeGomez:improve-gui-test-readability, r=jsha
[rust.git] / src / test / rustdoc-gui / search-result-keyword.goml
1 goto: file://|DOC_PATH|/test_docs/index.html
2 write: (".search-input", "CookieMonster")
3 // Waiting for the search results to appear...
4 wait-for: "#titles"
5 // Note: The two next assert commands could be merged as one but readability would be
6 // less good.
7 //
8 // Checking that the CSS is displaying " (keyword)" in italic.
9 assert-text: (".result-name span.keyword > i", "(keyword)")
10 assert-text: (".result-name span.keyword", "CookieMonster (keyword)")