Attempt #2
This commit is contained in:
parent
1fa22cceef
commit
875fc2eaca
1 changed files with 1 additions and 2 deletions
|
|
@ -87,7 +87,6 @@ stages:
|
|||
-e ADMIN_SERVICE_API_URL=$(ADMIN_SERVICE_API_URL) \
|
||||
-e SHARD=$(shardNumber) \
|
||||
-e CI=true \
|
||||
-e NODE_ENV=$(NODE_ENV) \
|
||||
$(dockerImageName):$(imageTag) \
|
||||
bash -c "num_tests=$(npx playwright test playwright-tests --list --grep \"@$jira_card_number\")
|
||||
echo $num_tests
|
||||
|
|
@ -101,7 +100,7 @@ stages:
|
|||
\"sed -i \\\"s|^process\.env\.VUE_APP_CONSUMER_CF_DISTRO = .*|process\.env\.VUE_APP_CONSUMER_CF_DISTRO='https://digitalapi.test.safelite.io'|\\\" \\\"./vue.config.js\\\" && echo \\\"Updated config file to use TEST APIs\\\" && npm run serve -- --port=8080\"
|
||||
\"npx wait-on http://localhost:8080 && npm run test:playwright -- --shard=$(shardNumber)/$(totalShards) --reporter=list,blob --grep \\\"@$jira_card_number\\\"\"
|
||||
fi
|
||||
")
|
||||
")
|
||||
|
||||
# Start container and stream logs
|
||||
echo "Starting tests for shard $(shardNumber)..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue