Skip to content
Snippets Groups Projects
Commit 84d94b40 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6368 running from any directory

parent de0a0a93
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,8 @@ if [ -z $APP_NAME ]; then echo "App Folder not set" && exit 1; fi
if [ -z $APP_VARIATION ]; then echo "Variation Name not set" && exit 1; fi
if [ -z $CONFIG_FILE ]; then echo "Config File not set" && exit 1; fi
BASE_PATH=${APP_NAME}
SCRIPT_DIR="$(dirname "$0")"
BASE_PATH=${SCRIPT_DIR}/${APP_NAME}
SPEC_GROUP=${BASE_PATH}/src/e2e/${APP_VARIATION}
COMMAND="npx cypress run --project ${BASE_PATH} --spec ${SPEC_GROUP} --config-file ${CONFIG_FILE}"
REPORT_PATH=${BASE_PATH}/reports/${APP_VARIATION}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment