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

8 lines
290 B
Plaintext
Raw Normal View History

2022-01-21 13:41:47 -06:00
// 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-toggle"
click: "#src-sidebar-toggle"
expect-failure: true
assert-css: ("#src-sidebar", { "left": "-300px" })