From 5838cea6acc2a1c432fbab78d50f4c0c807eaefd Mon Sep 17 00:00:00 2001 From: tristan-greffe Date: Mon, 1 Apr 2024 18:56:27 +0200 Subject: [PATCH] chore: redirect output to a log file [skip tests] [skip app] --- scripts/run_e2e_test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/run_e2e_test.sh b/scripts/run_e2e_test.sh index 4809bce9..1dfea6f2 100644 --- a/scripts/run_e2e_test.sh +++ b/scripts/run_e2e_test.sh @@ -19,6 +19,7 @@ trap 'slack_e2e_report "$APP" "$?" "$SLACK_WEBHOOK"' EXIT ## Run tests & redirect output to a log file ## +mkdir -p "$ROOT_DIR/test/run" yarn test:client > "$ROOT_DIR/test/run/e2e_test_log.txt" 2>&1 ## Upload logs & screenshots to S3 bucket