18874: Pass additional args to cypress test runner.
authorTom Clegg <tom@curii.com>
Fri, 10 Nov 2023 15:10:01 +0000 (10:10 -0500)
committerTom Clegg <tom@curii.com>
Fri, 10 Nov 2023 15:10:01 +0000 (10:10 -0500)
e.g.,

./tools/run-integration-tests.sh -a ~/arvados -- --spec cypress/integration/process.spec.js

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

services/workbench2/tools/run-integration-tests.sh

index a9d7e8fc647d7d8f234744f6f3a84af63913af99..ab7af4b6018af9f18db726c19c1d6647429e3637 100755 (executable)
@@ -148,4 +148,4 @@ echo "Running tests..."
 CYPRESS_system_token=systemusertesttoken1234567890aoeuidhtnsqjkxbmwvzpy \
     CYPRESS_controller_url=${controllerURL} \
     CYPRESS_BASE_URL=https://127.0.0.1:${WB2_PORT} \
-    yarn run cypress ${CYPRESS_MODE}
+    yarn run cypress ${CYPRESS_MODE} "$@"