From 200d4cd332d7bd0c8f0bf4476586ee875e101ff9 Mon Sep 17 00:00:00 2001 From: LindaSAP <153066064+LindaSAP@users.noreply.github.com> Date: Thu, 23 May 2024 11:34:28 +0800 Subject: [PATCH] CXSPA-7325: Add scenarios which could not run on pipeline set into WTF D3 run (#18880) Co-authored-by: Grace Dong <127385561+i53577@users.noreply.github.com> --- run-spartacus-cust-e2es.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 run-spartacus-cust-e2es.sh diff --git a/run-spartacus-cust-e2es.sh b/run-spartacus-cust-e2es.sh new file mode 100755 index 00000000000..6f5e54be5ac --- /dev/null +++ b/run-spartacus-cust-e2es.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# uncomment below for local testing +# export ENDPOINT_URL_PUBLIC_SPARTACUS=https://spartacusstore.cg79x9wuu9-eccommerc1-d3-public.model-t.myhybris.cloud +# export ENDPOINT_URL_PUBLIC_API=https://api.cg79x9wuu9-eccommerc1-d3-public.model-t.myhybris.cloud + +CYPRESS_ROOT_FOLDER="cypress/e2e" +CYPRESS_OTP_FOLDER="$CYPRESS_ROOT_FOLDER/regression/user_access" +CYPRESS_MYACCOUNT_V2_FOLDER="$CYPRESS_ROOT_FOLDER/regression/my-account" +CYPRESS_ACCESSIBILITY_FOLDER="$CYPRESS_ROOT_FOLDER/accessibility" + +export CX_MY_ACCOUNT_V2=true +export E2ES_TO_RUN="$CYPRESS_OTP_FOLDER/otp-login.e2e-flaky.cy.ts" + +# install cypress standlone dependencies +(cd projects/storefrontapp-e2e-cypress && npm install) + +# run spartacus ccv2 e2es for b2c +npm run e2e:run:ci:ccv2 + +