Don't open Error Console when running tests in CI
This commit is contained in:
parent
3905f9d5b3
commit
78cc8cc8c9
1 changed files with 3 additions and 1 deletions
|
@ -147,6 +147,8 @@ EOF
|
||||||
|
|
||||||
if [ -n "$CI" ]; then
|
if [ -n "$CI" ]; then
|
||||||
Z_ARGS="$Z_ARGS -ZoteroAutomatedTest -ZoteroTestTimeout 15000"
|
Z_ARGS="$Z_ARGS -ZoteroAutomatedTest -ZoteroTestTimeout 15000"
|
||||||
|
else
|
||||||
|
Z_ARGS="$Z_ARGS -jsconsole"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clean up on exit
|
# Clean up on exit
|
||||||
|
@ -165,7 +167,7 @@ fi
|
||||||
ZOTERO_INCLUDE_TESTS=1 "$ROOT_DIR/app/scripts/dir_build" -q
|
ZOTERO_INCLUDE_TESTS=1 "$ROOT_DIR/app/scripts/dir_build" -q
|
||||||
|
|
||||||
makePath FX_PROFILE "$PROFILE"
|
makePath FX_PROFILE "$PROFILE"
|
||||||
MOZ_NO_REMOTE=1 NO_EM_RESTART=1 "$Z_EXECUTABLE" -profile "$FX_PROFILE" -jsconsole \
|
MOZ_NO_REMOTE=1 NO_EM_RESTART=1 "$Z_EXECUTABLE" -profile "$FX_PROFILE" \
|
||||||
-chrome chrome://zotero-unit/content/runtests.html -test "$TESTS" -grep "$GREP" -ZoteroTest $Z_ARGS
|
-chrome chrome://zotero-unit/content/runtests.html -test "$TESTS" -grep "$GREP" -ZoteroTest $Z_ARGS
|
||||||
|
|
||||||
# Check for success
|
# Check for success
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue