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