File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 4
4
merge_group :
5
5
6
6
env :
7
- BROWSER_UI_TEST_VERSION : ' 0.18.2 '
7
+ BROWSER_UI_TEST_VERSION : ' 0.19.0 '
8
8
9
9
jobs :
10
10
test :
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ fn main() {
75
75
let mut command = Command :: new ( "npx" ) ;
76
76
command
77
77
. arg ( "browser-ui-test" )
78
- . arg ( "--no-sandbox" )
79
78
. args ( [ "--variable" , "DOC_PATH" , book_dir. as_str ( ) ] )
80
79
. args ( [ "--test-folder" , "tests/gui" ] ) ;
81
80
if std:: env:: args ( ) . any ( |arg| arg == "--disable-headless-test" ) {
Original file line number Diff line number Diff line change
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
+ })
You can’t perform that action at this time.
0 commit comments