We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c254ed commit 2399df2Copy full SHA for 2399df2
src/test/rustdoc-gui/help-page.goml
@@ -61,3 +61,11 @@ click: "#help-button > a"
61
assert-css: ("#help", {"display": "none"})
62
compare-elements-property-false: (".sub", "#help", ["offsetWidth"])
63
compare-elements-position-false: (".sub", "#help", ("x"))
64
+
65
+// This test ensures that the "the rustdoc book" anchor link within the help popover works.
66
+goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
67
+size: (1000, 1000) // Popover only appears when the screen width is >700px.
68
+assert-false: "#help"
69
+click: "#help-button > a"
70
+click: ".popover a[href='https://doc.rust-lang.org/rustdoc/']"
71
+assert-document-property: {"URL": "https://doc.rust-lang.org/rustdoc/"}
0 commit comments