We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6720fc commit ce63cc3Copy full SHA for ce63cc3
tests/gui/sidebar-nojs.goml
@@ -0,0 +1,16 @@
1
+// This GUI test checks that the sidebar takes the whole height when it's inside
2
+// an iframe (because of JS disabled).
3
+// Regression test for <https://github.com/rust-lang/mdBook/issues/2528>.
4
+
5
+// We disable the requests checks because `searchindex.json` will always fail
6
+// locally.
7
+fail-on-request-error: false
8
+// We disable javascript
9
+javascript: false
10
+go-to: |DOC_PATH| + "index.html"
11
+store-value: (height, 1000)
12
+set-window-size: (1000, |height|)
13
14
+within-iframe: (".sidebar-iframe-outer", block {
15
+ assert-size: (" body", {"height": |height|})
16
+})
0 commit comments