From 56ec3e6760436a1415751a6658947befd56db227 Mon Sep 17 00:00:00 2001 From: Waldemar Mazurek Date: Thu, 26 Sep 2024 10:11:12 +0200 Subject: [PATCH] Improves compatibility tests (#3941) --- scripts/testCompatibility.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/testCompatibility.sh b/scripts/testCompatibility.sh index bbf7dc13ad..171f382ad3 100755 --- a/scripts/testCompatibility.sh +++ b/scripts/testCompatibility.sh @@ -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