From 52108b3e7184ef3e065f8a6363afeaa9dbd2491e Mon Sep 17 00:00:00 2001 From: Waldemar Mazurek Date: Fri, 20 Dec 2024 15:31:02 +0100 Subject: [PATCH] Fixes testCompatibility script --- scripts/testCompatibility.sh | 2 +- test/e2e-client-api-test-app/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/testCompatibility.sh b/scripts/testCompatibility.sh index 120ef7257d..ab343908d4 100755 --- a/scripts/testCompatibility.sh +++ b/scripts/testCompatibility.sh @@ -261,7 +261,7 @@ verifyAndStartWebserver() { echoe "Stepping out" cd .. fi - if [ "${APP_FOLDERS[$i]}" != "/test/e2e-js-test-application" ]; then + if [ "${APP_FOLDERS[$i]}" != "/test/e2e-client-api-test-app" ] && [ "${APP_FOLDERS[$i]}" != "/test/e2e-js-test-application" ]; then runWebserver ${APP_PORTS[$i]} ${APP_PUBLIC_FOLDERS[$i]} ${APP_PATH_CHECK[$i]} else npm run dev & diff --git a/test/e2e-client-api-test-app/package.json b/test/e2e-client-api-test-app/package.json index c33445e944..5594af8b64 100644 --- a/test/e2e-client-api-test-app/package.json +++ b/test/e2e-client-api-test-app/package.json @@ -6,7 +6,8 @@ "scripts": { "copy": "rm -rf .\\public\\assets && mkdirp public/assets && cp node_modules/@luigi-project/container/bundle.js node_modules/@luigi-project/core/*.* node_modules/@luigi-project/client/*.js node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3/css_variables.css public/assets/", "serve": "live-server --port=3000 --mount=\"/node_modules\":\"./node_modules\" ./public --no-browser", - "start": "npm run copy && npm run serve", + "dev": "npm run copy && npm run serve", + "start": "npm run dev", "cypress-browser": "cypress open --e2e --browser chrome -c video=false", "cypress-headless": "cypress run -c video=false", "test": "echo \"Error: no test specified\" && exit 1"