Disable sandbox when running GUI tests
This commit is contained in:
parent
cc8ce35b4d
commit
69ef52fd13
1 changed files with 1 additions and 0 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue