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

8 lines
296 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"
2021-02-21 07:25:12 -06:00
click: ".srclink"
wait-for: "#src-sidebar-toggle"
click: "#src-sidebar-toggle"
expect-failure: true
2021-06-19 05:56:55 -05:00
assert-css: ("#source-sidebar", { "left": "-300px" })