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

FRW-8354 Updated composer.lock #458

Closed
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
21 changes: 5 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,6 @@ jobs:
- name: Install packages
run: |
sudo apt install awscli -q
sudo apt install jq -q

- name: Install cypress-tests folder
run: |
Expand Down Expand Up @@ -1030,21 +1029,11 @@ jobs:
run: |
docker/sdk exec cypress-tests cp .env.dynamic-store.example .env
docker/sdk exec cypress-tests git log -2
docker/sdk exec --env "ENV_REPOSITORY_ID=b2c-mp" cypress-tests npm run cy:ci -- --reporter json --reporter-options output=results.json || echo "Initial test run failed, checking for retries..."
# for i in 1 2; do
# docker/sdk exec --env "ENV_REPOSITORY_ID=b2c-mp" cypress-tests npm run cy:ci && s=0 && break || s=$? && echo "Test failed, retrying..."
# sleep 1
# done
# (exit $s)
if jq -e '.results | any(.state == "failed")' results.json > /dev/null; then
echo "Retrying failed tests..."
failed_tests=$(jq -r '.results[] | select(.state == "failed") | .title | join(" --spec ")' results.json)
for test in $failed_tests; do
docker/sdk exec --env "ENV_REPOSITORY_ID=b2c-mp" cypress-tests npm run cy:ci -- --spec "$test" || echo "Retry of test $test failed"
done
else
echo "All tests passed, no retries needed."
fi
for i in 1 2; do
docker/sdk exec --env "ENV_REPOSITORY_ID=b2c-mp" cypress-tests npm run cy:ci && s=0 && break || s=$? && echo "Test failed, retrying..."
sleep 1
done
(exit $s)
- name: Upload artifacts
if: failure()
run: |
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
"spryker-sdk/phpstan-spryker": "^0.4.0",
"spryker/architecture-sniffer": "^0.5.5",
"spryker/code-sniffer": "^0.17.18",
"spryker/cypress-tests": "dev-feature/frw-8354-create-dms-acceptance-tests",
"spryker/cypress-tests": "dev-feature/frw-8354-create-dms-acceptance-tests-refactoring",
"spryker/docker-chromedriver": "dev-master",
"spryker/profiler": "^0.1.1",
"spryker/robotframework-suite-tests": "dev-master",
Expand Down
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading