Skip to content

Commit

Permalink
TASK: Hotfix, show testcafe with partial colors in circle ci overview
Browse files Browse the repository at this point in the history
Apparently neither of the options for `saucectl run`

--show-console-log
--verbose
--live-logs

change anything regarding streaming the testcafe log output directly to the circle ci shell.

To make debugging easier we read the console.logs
  • Loading branch information
mhsdesign committed Jan 25, 2025
1 parent 20ac678 commit 689a581
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,11 @@ jobs:
echo "Target Branch: $TARGET_BRANCH"
# Save the variable to BASH_ENV to be able to access it in the next steps
echo "export TARGET_BRANCH=$TARGET_BRANCH" >> $BASH_ENV
- run:
name: Use target branch
command: |
echo "Using target branch: $TARGET_BRANCH"
- run:
name: Prepare and run e2e tests
no_output_timeout: 30m
command: |
echo "Using target branch: $TARGET_BRANCH"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
cd /home/circleci/app/Packages/Application/Neos.Neos.Ui
Expand All @@ -155,6 +152,14 @@ jobs:
echo 127.0.0.1 onedimension.localhost | sudo tee -a /etc/hosts
echo 127.0.0.1 twodimensions.localhost | sudo tee -a /etc/hosts
make test-e2e-saucelabs
- run:
name: Show testcafe output
command: |
for file in /home/circleci/app/Data/Logs/saucelabs-artifacts/**/console.log; do
echo $file
cat $file
done
when: always
- store_artifacts:
path: /home/circleci/app/Data/Logs
- persist_to_workspace:
Expand Down

0 comments on commit 689a581

Please sign in to comment.