about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-11-14 14:34:46 -0700
committerMichael Howell <michael@notriddle.com>2022-11-14 14:46:53 -0700
commitbd84709298a096fb9518e1f14ee58d3a5bd21ae2 (patch)
tree1b7d005d347d53ec7e5acf7c9a929b3885dec1c0
parent8b346754eda9e9cddeeb50b1103d461cf3196843 (diff)
downloadrust-bd84709298a096fb9518e1f14ee58d3a5bd21ae2.tar.gz
rust-bd84709298a096fb9518e1f14ee58d3a5bd21ae2.zip
rustdoc: add test case for font size in help popover
-rw-r--r--src/test/rustdoc-gui/help-page.goml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/help-page.goml b/src/test/rustdoc-gui/help-page.goml
index 521e14748af..392f17bfd47 100644
--- a/src/test/rustdoc-gui/help-page.goml
+++ b/src/test/rustdoc-gui/help-page.goml
@@ -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"])