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 // Waiting for the search results to appear...
6 // Note: The two next assert commands could be merged as one but readability would be
9 // Checking that the CSS is displaying " (keyword)" in italic.
10 assert-text: (".result-name span.keyword > i", "(keyword)")
11 assert-text: (".result-name span.keyword", "CookieMonster (keyword)")