]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-gui/search-result-keyword.goml
New upstream version 1.55.0+dfsg1
[rustc.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)")