From d69f8c6602a4c80f794435d7f516052ea4b9c8ca Mon Sep 17 00:00:00 2001 From: kpawelczak <42094017+kpawelczak@users.noreply.github.com> Date: Fri, 23 Aug 2024 11:31:44 +0200 Subject: [PATCH] Update e2e-cypress.sh --- ci-scripts/e2e-cypress.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ci-scripts/e2e-cypress.sh b/ci-scripts/e2e-cypress.sh index bb3e96fbf5c..4b8bf57faa4 100755 --- a/ci-scripts/e2e-cypress.sh +++ b/ci-scripts/e2e-cypress.sh @@ -91,7 +91,7 @@ if [[ "${SSR}" = true ]]; then if [ "${GITHUB_EVENT_NAME}" == "pull_request" ]; then if [[ "${GITHUB_HEAD_REF}" == epic/* ]]; then npm run e2e:run:ci:ssr - else + else npm run e2e:run:ci:core:ssr fi else @@ -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 -# npm run e2e:run:ci"${SUITE}" -# else -# npm run e2e:run:ci:core"${SUITE}" -# fi -# else + 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}" -# fi + fi fi