Skip to content

Commit c0ad2a0

Browse files
committed
TASK: Hotfix, show testcafe with partial colors in circle ci overview
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
1 parent b83a3c0 commit c0ad2a0

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.circleci/config.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,20 +137,25 @@ jobs:
137137
echo "Target Branch: $TARGET_BRANCH"
138138
# Save the variable to BASH_ENV to be able to access it in the next steps
139139
echo "export TARGET_BRANCH=$TARGET_BRANCH" >> $BASH_ENV
140-
- run:
141-
name: Use target branch
142-
command: |
143-
echo "Using target branch: $TARGET_BRANCH"
144140
- run:
145141
name: Prepare and run e2e tests
146142
no_output_timeout: 30m
147143
command: |
144+
echo "Using target branch: $TARGET_BRANCH"
148145
export NVM_DIR="$HOME/.nvm"
149146
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
150147
cd /home/circleci/app/Packages/Application/Neos.Neos.Ui
151148
nvm install
152149
nvm use
153150
make test-e2e-saucelabs
151+
- run:
152+
name: Show testcafe output
153+
command: |
154+
for file in /home/circleci/app/Data/Logs/saucelabs-artifacts/**/console.log; do
155+
echo $file
156+
cat $file
157+
done
158+
when: always
154159
- store_artifacts:
155160
path: /home/circleci/app/Data/Logs
156161
- persist_to_workspace:

0 commit comments

Comments
 (0)