diff options
Diffstat (limited to 'src/test/rustdoc-gui/code-sidebar-toggle.goml')
-rw-r--r-- | src/test/rustdoc-gui/code-sidebar-toggle.goml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/code-sidebar-toggle.goml b/src/test/rustdoc-gui/code-sidebar-toggle.goml new file mode 100644 index 000000000..867db0569 --- /dev/null +++ b/src/test/rustdoc-gui/code-sidebar-toggle.goml @@ -0,0 +1,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: "#sidebar-toggle" +click: "#sidebar-toggle" +fail: true +assert-css: ("#source-sidebar", { "left": "-300px" }) |