Skip to content

Commit

Permalink
chore: improve run_e2e_tests script [skip app] [skip tests]
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-greffe committed Apr 5, 2024
1 parent 27c2696 commit 488532b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/run_e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -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")
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")

0 comments on commit 488532b

Please sign in to comment.