1 // Checks that the "keyword" results have the expected text alongside them.
2 goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
3 write: (".search-input", "CookieMonster")
4 // To be SURE that the search will be run.
6 // Waiting for the search results to appear...
8 // Note: The two next assert commands could be merged as one but readability would be
11 // Checking that the CSS is displaying " (keyword)" in italic.
12 assert-text: (".result-name span.keyword > i", "(keyword)")
13 assert-text: (".result-name span.keyword", "CookieMonster (keyword)")