Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK: Show testcafe output in circle ci overview #3911

Open
wants to merge 2 commits into
base: 8.3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,20 +137,25 @@ 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
nvm install
nvm use
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
5 changes: 2 additions & 3 deletions .sauce/config1Dimension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ sauce:
retries: 0
metadata:
tags:
- e2e
- $TARGET_BRANCH
build: $TARGET_BRANCH
build: $TARGET_BRANCH $CIRCLE_PR_NUMBER
tunnel:
name: "circleci-tunnel"
testcafe:
Expand Down Expand Up @@ -44,7 +43,7 @@ artifacts:
- sauce-test-report.json
when: always
allAttempts: true
directory: ../../Data/Logs/saucelabs-artifacts/
directory: ../../../Data/Logs/saucelabs-artifacts/

reporters:
json:
Expand Down