From 488532bc3c9792a963ed49c64e8cd87e5185c00a Mon Sep 17 00:00:00 2001 From: tristan-greffe Date: Fri, 5 Apr 2024 11:03:55 +0200 Subject: [PATCH] chore: improve run_e2e_tests script [skip app] [skip tests] --- scripts/run_e2e_test.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/run_e2e_test.sh b/scripts/run_e2e_test.sh index 2d3fd32d..0c740899 100644 --- a/scripts/run_e2e_test.sh +++ b/scripts/run_e2e_test.sh @@ -5,8 +5,8 @@ set -euo pipefail APP=$1 SLACK_WEBHOOK=$2 -GOOGLE_LOGS_LINK="https://github.com/kalisio/kApp" -SCREEN_LINK="https://github.com/kalisio/kApp" +GOOGLE_LOGS_LINK="https://github.com/kalisio" +SCREEN_LINK="https://github.com/kalisio" CURRENT_DATE=$(date +"%d-%m-%Y") @@ -38,8 +38,8 @@ yarn test:client > "$ROOT_DIR/test/run/chrome/google_logs.txt" 2>&1 zip -r "$ROOT_DIR/test/screenshots.zip" run -rclone copy "$ROOT_DIR/test/run/chrome/google_logs.txt" "ovh-s3:/dev/e2e_tests/$APP/$CURRENT_DATE" -GOOGLE_LOGS_LINK=$(rclone link "ovh-s3:/dev/e2e_tests/$APP/$CURRENT_DATE/google_logs.txt") +rclone copy "$ROOT_DIR/test/run/chrome/google_logs.txt" "ovh-s3:/dev/e2e-tests/$APP/$CURRENT_DATE" +GOOGLE_LOGS_LINK=$(rclone link "ovh-s3:/dev/e2e-tests/$APP/$CURRENT_DATE/google_logs.txt") -rclone copy "$ROOT_DIR/test/screenshots.zip" "ovh-s3:/dev/e2e_tests/$APP/$CURRENT_DATE" -SCREEN_LINK=$(rclone link "ovh-s3:/dev/e2e_tests/$APP/$CURRENT_DATE/screenshots.zip") \ No newline at end of file +rclone copy "$ROOT_DIR/test/screenshots.zip" "ovh-s3:/dev/e2e-tests/$APP/$CURRENT_DATE" +SCREEN_LINK=$(rclone link "ovh-s3:/dev/e2e-tests/$APP/$CURRENT_DATE/screenshots.zip") \ No newline at end of file