rust/src/test/rustdoc-gui/search-result-keyword.goml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
526 B
Plaintext
Raw Normal View History

2022-01-21 19:41:47 +00:00
// Checks that the "keyword" results have the expected text alongside them.
goto: file://|DOC_PATH|/test_docs/index.html
write: (".search-input", "CookieMonster")
// Waiting for the search results to appear...
wait-for: "#titles"
// Note: The two next assert commands could be merged as one but readability would be
// less good.
//
2021-05-24 12:29:57 +00:00
// Checking that the CSS is displaying " (keyword)" in italic.
2021-06-19 10:56:55 +00:00
assert-text: (".result-name span.keyword > i", "(keyword)")
assert-text: (".result-name span.keyword", "CookieMonster (keyword)")