rustdoc: add test case for font size in help popover
This commit is contained in:
parent
8b346754ed
commit
bd84709298
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue