From 176fabb6b860ee515195e249902f33f297dd3f83 Mon Sep 17 00:00:00 2001 From: Maryna Dolhalova <72726250+nallikaea@users.noreply.github.com> Date: Wed, 22 Mar 2023 12:52:21 +0100 Subject: [PATCH] Updated launch.sh and startHappyPathTest() (#22087) Signed-off-by: mdolhalo Co-authored-by: mdolhalo --- tests/devworkspace-happy-path/launch.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/devworkspace-happy-path/launch.sh b/tests/devworkspace-happy-path/launch.sh index 7dabb536f61..90a3b7f4e84 100755 --- a/tests/devworkspace-happy-path/launch.sh +++ b/tests/devworkspace-happy-path/launch.sh @@ -25,7 +25,8 @@ export CHE_NAMESPACE="${CHE_NAMESPACE:-eclipse-che}" export E2E_TEST_IMAGE="${E2E_TEST_IMAGE:-quay.io/eclipse/che-e2e:next}" export HAPPY_PATH_POD_NAME=happy-path-che export HAPPY_PATH_TEST_PROJECT='https://github.com/che-samples/java-spring-petclinic/tree/devfilev2' -export HAPPY_PATH_SUITE="${HAPPY_PATH_SUITE:-test-devworkspace-happy-path-code}" +export HAPPY_PATH_SUITE="${HAPPY_PATH_SUITE:-test-all-devfiles}" +export HAPPY_PATH_USERSTORY="${HAPPY_PATH_USERSTORY:-EmptyWorkspace}" rm -rf ${WORKDIR} mkdir -p ${WORKDIR} @@ -100,6 +101,7 @@ startHappyPathTest() { HAPPY_PATH_POD_FILE=${SCRIPT_DIR}/resources/pod-che-happy-path.yaml cp $HAPPY_PATH_POD_FILE ${WORKDIR}/e2e-pod.yaml sed -i "s@HAPPY_PATH_SUITE@${HAPPY_PATH_SUITE}@g" ${WORKDIR}/e2e-pod.yaml + sed -i "s@HAPPY_PATH_USERSTORY@${HAPPY_PATH_USERSTORY}@g" ${WORKDIR}/e2e-pod.yaml sed -i "s@CHE_URL@${ECLIPSE_CHE_URL}@g" ${WORKDIR}/e2e-pod.yaml sed -i "s@WORKSPACE_ROUTE@${TS_SELENIUM_DEVWORKSPACE_URL}@g" ${WORKDIR}/e2e-pod.yaml sed -i "s@CHE-NAMESPACE@${CHE_NAMESPACE}@g" ${WORKDIR}/e2e-pod.yaml