mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
859bbc5def
This is a redesign of the feature, with parts pulled from https://github.com/rust-lang/rust/pull/119049 but with a button that looks more like a button and matches the one used on other sidebar pages.
8 lines
279 B
Plaintext
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" })
|