Disable sandbox when running GUI tests

This commit is contained in:
Guillaume Gomez 2024-12-19 17:12:06 +01:00
parent cc8ce35b4d
commit 69ef52fd13

View file

@ -75,6 +75,7 @@ fn main() {
let mut command = Command::new("npx");
command
.arg("browser-ui-test")
.arg("--no-sandbox")
.args(["--variable", "DOC_PATH", book_dir.as_str()])
.args(["--test-folder", "tests/gui"]);
if std::env::args().any(|arg| arg == "--disable-headless-test") {