rustdoc-gui test: apply suggestions from code review

This commit is contained in:
binarycat
2025-05-23 17:43:19 -05:00
parent 1eba1b56e3
commit bcca611b35

View File

@@ -57,7 +57,8 @@ scroll-to: ".block.keyword li:nth-child(1)"
compare-elements-position-near: (".block.keyword li:nth-child(1)", ".mobile-topbar", {"y": 544})
// Now checking the background color of the sidebar.
reload:
// Close the sidebar menu.
press-key: "Escape"
show-text: true
define-function: (
@@ -73,6 +74,8 @@ define-function: (
"background-color": |background|,
"color": |color|,
})
// Make sure the sidebar is full width
compare-elements-size: (".sidebar", "body", ["width"])
// Close the sidebar menu.
press-key: "Escape"
},