Skip to content

Commit

Permalink
Improves compatibility tests (#3941)
Browse files Browse the repository at this point in the history
  • Loading branch information
walmazacn committed Sep 26, 2024
1 parent 120acbd commit 56ec3e6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion scripts/testCompatibility.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,15 @@ startE2eTestrunner() {
echoe "Starting e2e test headless"
cd $LUIGI_DIR_TESTING/${APP_FOLDERS[0]}

npm run e2e:run:angular
if [ "$USE_CYPRESS_DASHBOARD" == "true" ]; then
echo "Running compatibility tests with recording"
echo "Check the link https://dashboard.cypress.io/#/projects/czq7qc for the recording"
# obtain the key here: https://dashboard.cypress.io/#/projects/czq7qc/settings
npm run e2e:run:angular -- --record --key $CYPRESS_DASHBOARD_RECORD_KEY
else
echo "Running tests without recording"
npm run e2e:run:angular
fi

# Check and kill webservers again
killWebServers
Expand Down

0 comments on commit 56ec3e6

Please sign in to comment.