mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Update keyword GUI test
This commit is contained in:
parent
706aa31a2d
commit
a06829cfbd
@ -5,7 +5,6 @@ wait-for: "#titles"
|
|||||||
// Note: The two next assert commands could be merged as one but readability would be
|
// Note: The two next assert commands could be merged as one but readability would be
|
||||||
// less good.
|
// less good.
|
||||||
//
|
//
|
||||||
// Checking that the CSS is displaying " (keyword)"...
|
// Checking that the CSS is displaying " (keyword)" in italic.
|
||||||
assert: (".result-name span.keyword::after", {"content": '" (keyword)"'})
|
assert: (".result-name span.keyword > i", "(keyword)")
|
||||||
// ... in italic.
|
assert: (".result-name span.keyword", "CookieMonster (keyword)")
|
||||||
assert: (".result-name span.keyword::after", {"font-style": "italic"})
|
|
||||||
|
Loading…
Reference in New Issue
Block a user