tests: Use Chrome provided by env var for auto tests
Using Chrome provided by environment variable will allow to pin the version of Chrome on CI for better tests stability. Change-Id: Ic6f3026eb5694b628d3a4dd1dcc49c53270e2b86 Reviewed-by: Lorn Potter <lorn.potter@qt.io>
This commit is contained in:
parent
ddfcc07348
commit
f86a033f5e
@ -673,7 +673,12 @@ function(qt_internal_add_test name)
|
||||
list(APPEND extra_test_args "qtestname=${testname}")
|
||||
list(APPEND extra_test_args "--silence_timeout=60")
|
||||
# TODO: Add functionality to specify browser
|
||||
list(APPEND extra_test_args "--browser=chrome")
|
||||
if(DEFINED ENV{BROWSER_FOR_WASM})
|
||||
set(browser $ENV{BROWSER_FOR_WASM})
|
||||
else()
|
||||
set(browser "chrome")
|
||||
endif()
|
||||
list(APPEND extra_test_args "--browser=${browser}")
|
||||
list(APPEND extra_test_args "--browser_args=\"--password-store=basic\"")
|
||||
list(APPEND extra_test_args "--kill_exit")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user