Skip to content

Commit

Permalink
Use configurable test profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Draier committed Aug 18, 2023
1 parent 1f8db4f commit 24785ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions env.run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ if [[ -z "${CYPRESS_CONFIGURATION_FILE}" ]]; then
CYPRESS_CONFIGURATION_FILE=cypress.config.ts
fi

if [[ "${TESTS_PROFILE}" != "" ]]; then
CYPRESS_CONFIGURATION_FILE=${TESTS_PROFILE}
else
CYPRESS_CONFIGURATION_FILE="cypress.config.ts"
fi

echo "$(date +'%d %B %Y - %k:%M') == Running Cypress with configuration file ${CYPRESS_CONFIGURATION_FILE} =="

yarn e2e:ci --config-file "${CYPRESS_CONFIGURATION_FILE}"
Expand Down

0 comments on commit 24785ad

Please sign in to comment.