2021-05-21 22:53:50 +02:00
|
|
|
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 14:29:57 +02:00
|
|
|
// Checking that the CSS is displaying " (keyword)" in italic.
|
2021-06-19 12:56:55 +02:00
|
|
|
assert-text: (".result-name span.keyword > i", "(keyword)")
|
|
|
|
assert-text: (".result-name span.keyword", "CookieMonster (keyword)")
|