mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 04:14:28 +00:00
rustdoc: add test case for font size in help popover
This commit is contained in:
parent
8b346754ed
commit
bd84709298
@ -3,6 +3,7 @@ goto: "file://" + |DOC_PATH| + "/help.html"
|
||||
size: (1000, 1000) // Try desktop size first.
|
||||
wait-for: "#help"
|
||||
assert-css: ("#help", {"display": "block"})
|
||||
assert-css: ("#help dd", {"font-size": "16px"})
|
||||
click: "#help-button > a"
|
||||
assert-css: ("#help", {"display": "block"})
|
||||
compare-elements-property: (".sub", "#help", ["offsetWidth"])
|
||||
@ -18,6 +19,7 @@ size: (1000, 1000) // Only supported on desktop.
|
||||
assert-false: "#help"
|
||||
click: "#help-button > a"
|
||||
assert-css: ("#help", {"display": "block"})
|
||||
assert-css: ("#help dd", {"font-size": "16px"})
|
||||
click: "#help-button > a"
|
||||
assert-css: ("#help", {"display": "none"})
|
||||
compare-elements-property-false: (".sub", "#help", ["offsetWidth"])
|
||||
|
Loading…
Reference in New Issue
Block a user