Remove fail-on-request-error in GUI tests as they are not needed anymore

This commit is contained in:
Guillaume Gomez 2025-03-22 17:51:07 +01:00
parent 418d677584
commit f54356da10
4 changed files with 1 additions and 11 deletions

View file

@ -1,7 +1,6 @@
// This tests pressing the left and right arrows moving to previous and next page.
// We disable the requests checks because `searchindex.json` will always fail
// locally (due to CORS), but the searchindex.js will succeed.
// We disable the requests checks because `mode-rust.js` is not found.
fail-on-request-error: false
go-to: |DOC_PATH| + "index.html"

View file

@ -1,8 +1,5 @@
// This tests basic search behavior.
// We disable the requests checks because `searchindex.json` will always fail
// locally (due to CORS), but the searchindex.js will succeed.
fail-on-request-error: false
go-to: |DOC_PATH| + "index.html"
define-function: (

View file

@ -2,9 +2,6 @@
// an iframe (because of JS disabled).
// Regression test for <https://github.com/rust-lang/mdBook/issues/2528>.
// We disable the requests checks because `searchindex.json` will always fail
// locally.
fail-on-request-error: false
// We disable javascript
javascript: false
go-to: |DOC_PATH| + "index.html"

View file

@ -1,9 +1,6 @@
// This GUI test checks sidebar hide/show and also its behaviour on smaller
// width.
// We disable the requests checks because `searchindex.json` will always fail
// locally.
fail-on-request-error: false
go-to: |DOC_PATH| + "index.html"
set-window-size: (1100, 600)
// Need to reload for the new size to be taken account by the JS.