mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Add --ignore-certificate-errors flag to chromium-browser command in integration tests.
This flag fix error messages when running the tests for the first time.
This commit is contained in:
parent
9f2cca1ebf
commit
6792fd5bc3
|
@ -31,6 +31,8 @@ func StartWebDriverWithProxy(proxy string, port int) (*WebDriverSession, error)
|
||||||
Path: "/usr/bin/chromium-browser",
|
Path: "/usr/bin/chromium-browser",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chromeCaps.Args = append(chromeCaps.Args, "--ignore-certificate-errors")
|
||||||
|
|
||||||
if os.Getenv("HEADLESS") != "" {
|
if os.Getenv("HEADLESS") != "" {
|
||||||
chromeCaps.Args = append(chromeCaps.Args, "--headless")
|
chromeCaps.Args = append(chromeCaps.Args, "--headless")
|
||||||
chromeCaps.Args = append(chromeCaps.Args, "--no-sandbox")
|
chromeCaps.Args = append(chromeCaps.Args, "--no-sandbox")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user