rust/tests/rustdoc-gui/code-sidebar-toggle.goml

8 lines
279 B
Plaintext

// This test checks that the source code pages sidebar toggle is working as expected.
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
click: "a.src"
wait-for: "#src-sidebar"
click: "#sidebar-button"
expect-failure: true
assert-css: ("#src-sidebar", { "left": "-300px" })