Skip to content

Commit 3cd717f

Browse files
Remove fail-on-request-error in GUI tests as they are not needed anymore
1 parent 418d677 commit 3cd717f

File tree

4 files changed

+0
-13
lines changed

4 files changed

+0
-13
lines changed

tests/gui/move-between-pages.goml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
// This tests pressing the left and right arrows moving to previous and next page.
22

3-
// We disable the requests checks because `searchindex.json` will always fail
4-
// locally (due to CORS), but the searchindex.js will succeed.
5-
fail-on-request-error: false
6-
73
go-to: |DOC_PATH| + "index.html"
84

95
// default page is the first numbered page

tests/gui/search.goml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// This tests basic search behavior.
22

3-
// We disable the requests checks because `searchindex.json` will always fail
4-
// locally (due to CORS), but the searchindex.js will succeed.
5-
fail-on-request-error: false
63
go-to: |DOC_PATH| + "index.html"
74

85
define-function: (

tests/gui/sidebar-nojs.goml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
// an iframe (because of JS disabled).
33
// Regression test for <https://github.com/rust-lang/mdBook/issues/2528>.
44

5-
// We disable the requests checks because `searchindex.json` will always fail
6-
// locally.
7-
fail-on-request-error: false
85
// We disable javascript
96
javascript: false
107
go-to: |DOC_PATH| + "index.html"

tests/gui/sidebar.goml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// This GUI test checks sidebar hide/show and also its behaviour on smaller
22
// width.
33

4-
// We disable the requests checks because `searchindex.json` will always fail
5-
// locally.
6-
fail-on-request-error: false
74
go-to: |DOC_PATH| + "index.html"
85
set-window-size: (1100, 600)
96
// Need to reload for the new size to be taken account by the JS.

0 commit comments

Comments
 (0)