We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92482ca commit dd6bb09Copy full SHA for dd6bb09
src/test/rustdoc-gui/settings.goml
@@ -65,3 +65,8 @@ assert: ".setting-line.hidden #theme"
65
// We check their text as well.
66
assert-text: ("#preferred-dark-theme .setting-name", "Preferred dark theme")
67
assert-text: ("#preferred-light-theme .setting-name", "Preferred light theme")
68
+
69
+// Now we go to the settings page to check that the CSS is loaded as expected.
70
+goto: file://|DOC_PATH|/settings.html
71
+wait-for: "#settings"
72
+assert-css: (".setting-line .toggle", {"width": "45px", "margin-right": "20px"})
0 commit comments