]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/search-result-keyword.goml
Rollup merge of #85271 - th1000s:master, r=JohnTitor
[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)"...
9 assert: (".result-name span.keyword::after", {"content": '" (keyword)"'})
10 // ... in italic.
11 assert: (".result-name span.keyword::after", {"font-style": "italic"})