Skip to content

Commit

Permalink
running spa e2e against cx 2211.30
Browse files Browse the repository at this point in the history
  • Loading branch information
KateChuen committed Oct 22, 2024
1 parent 071d8bf commit 38b4d23
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .env-cmdrc
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"dev": {
"CX_BASE_URL": "https://40.76.109.9:9002"
"CX_BASE_URL": "https://spartacus-test.eastus.cloudapp.azure.com:8443"
},
"local": {
"CX_BASE_URL": "https://localhost:9002"
"CX_BASE_URL": "https://spartacus-test.eastus.cloudapp.azure.com:8443"
},
"local-http": {
"CX_BASE_URL": "http://localhost:9002"
"CX_BASE_URL": "http://spartacus-test.eastus.cloudapp.azure.com:8443"
},
"ci": {
"CX_BASE_URL": "https://20.83.184.244:9002"
"CX_BASE_URL": "https://spartacus-test.eastus.cloudapp.azure.com:8443"
},
"ccv2": {
"CX_BASE_URL": "https://api.cg79x9wuu9-eccommerc1-p1-public.model-t.myhybris.cloud"
Expand Down
16 changes: 8 additions & 8 deletions ci-scripts/e2e-cypress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ else
echo '-----'
echo "Running Cypress end to end tests"

if [ "${GITHUB_EVENT_NAME}" == "pull_request" ]; then
if [[ "${GITHUB_HEAD_REF}" == epic/* ]]; then
# if [ "${GITHUB_EVENT_NAME}" == "pull_request" ]; then
# if [[ "${GITHUB_HEAD_REF}" == epic/* ]]; then
# npm run e2e:run:ci"${SUITE}"
# else
# npm run e2e:run:ci:core"${SUITE}"
# fi
# else
npm run e2e:run:ci"${SUITE}"
else
npm run e2e:run:ci:core"${SUITE}"
fi
else
npm run e2e:run:ci"${SUITE}"
fi
# fi
fi
2 changes: 1 addition & 1 deletion projects/storefrontapp-e2e-cypress/cypress.config.ci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineConfig({
},
videoUploadOnPasses: false,
env: {
API_URL: 'https://20.83.184.244:9002',
API_URL: 'https://spartacus-test.eastus.cloudapp.azure.com:8443',
BASE_SITE: 'electronics-spa',
BASE_LANG: 'en',
BASE_CURRENCY: 'USD',
Expand Down
2 changes: 1 addition & 1 deletion projects/storefrontapp-e2e-cypress/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default defineConfig({
env: {
CLIENT_ID: 'mobile_android',
CLIENT_SECRET: 'secret',
API_URL: 'https://40.76.109.9:9002',
API_URL: 'https://spartacus-test.eastus.cloudapp.azure.com:8443',
BASE_SITE: 'electronics-spa',
BASE_LANG: 'en',
BASE_CURRENCY: 'USD',
Expand Down

0 comments on commit 38b4d23

Please sign in to comment.