diff --git a/ci/tasks/e2e-test-android.sh b/ci/tasks/e2e-test-android.sh index b2baa10ffd..5fcd8ab8f9 100755 --- a/ci/tasks/e2e-test-android.sh +++ b/ci/tasks/e2e-test-android.sh @@ -32,7 +32,7 @@ pushd repo yarn install echo browserstack_app_id:$BROWSERSTACK_APP_ID -GALOY_TEST_TOKENS=$GALOY_TEST_TOKENS && GALOY_TOKEN_2=$GALOY_TOKEN_2 && yarn test:browserstack:android | tee browserstack_output.log +GALOY_TEST_TOKENS=$GALOY_TEST_TOKENS && GALOY_TOKEN_2=$GALOY_TOKEN_2 && MAILSLURP_API_KEY=$MAILSLURP_API_KEY && yarn test:browserstack:android | tee browserstack_output.log error_code=$? SESSION_ID=$(cat browserstack_output.log | grep sessionId | head -n1 | sed -n "s/^.*'\(.*\)'.*$/\1/ p") echo "Session ID" diff --git a/ci/tasks/e2e-test-ios.sh b/ci/tasks/e2e-test-ios.sh index 12c38217a3..85d4412d62 100755 --- a/ci/tasks/e2e-test-ios.sh +++ b/ci/tasks/e2e-test-ios.sh @@ -33,7 +33,7 @@ pushd repo yarn install echo browserstack_app_id:$BROWSERSTACK_APP_ID -GALOY_TEST_TOKENS=$GALOY_TEST_TOKENS && GALOY_TOKEN_2=$GALOY_TOKEN_2 && yarn test:browserstack:ios | tee browserstack_output.log +GALOY_TEST_TOKENS=$GALOY_TEST_TOKENS && GALOY_TOKEN_2=$GALOY_TOKEN_2 && MAILSLURP_API_KEY=$MAILSLURP_API_KEY && yarn test:browserstack:ios | tee browserstack_output.log error_code=$? SESSION_ID=$(cat browserstack_output.log | grep sessionId | head -n1 | sed -n "s/^.*'\(.*\)'.*$/\1/ p") echo "Session ID"