summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/code-sidebar-toggle.goml
blob: df665bd46c03b7f5cf053afa41c25d94741935e0 (plain)
1
2
3
4
5
6
7
// This test checks that the source code pages sidebar toggle is working as expected.
goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
click: ".srclink"
wait-for: "#src-sidebar-toggle"
click: "#src-sidebar-toggle"
fail: true
assert-css: ("#source-sidebar", { "left": "-300px" })