Skip to content

Commit

Permalink
TC-47 Test cypress e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Tkachev committed Jan 16, 2025
1 parent c3eade7 commit 224db3c
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/universal_workflow_light.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,9 @@ jobs:
"cypress_container_options="
"cypress_path=/var/www/html"
)
printf '%s\n' "${vars[@]}" >> "${GITHUB_ENV}"
for var in "${vars[@]}"; do
printf '%s\n' "$var" >> "${GITHUB_ENV}"
done
- name: Convert variables
id: cy
Expand Down Expand Up @@ -1276,6 +1278,22 @@ jobs:
debug: ${{ needs.init.outputs.debug }}
token: ${{ github.token }}

- name: Upload Cypress Screenshots
if: always() # This ensures it runs even if tests fail
uses: actions/upload-artifact@v3

Check failure on line 1283 in .github/workflows/universal_workflow_light.yaml

View workflow job for this annotation

GitHub Actions / osc_telecash_php82_mysql_80 / actionlint

the runner of "actions/upload-artifact@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
with:
name: cypress-screenshots
path: source/vendor/oxid-solution-catalysts/telecash-module/tests/e2e/cypress/_generated/screenshots
if-no-files-found: ignore

- name: Upload Cypress Videos
if: always()
uses: actions/upload-artifact@v3

Check failure on line 1291 in .github/workflows/universal_workflow_light.yaml

View workflow job for this annotation

GitHub Actions / osc_telecash_php82_mysql_80 / actionlint

the runner of "actions/upload-artifact@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
with:
name: cypress-videos
path: source/vendor/oxid-solution-catalysts/telecash-module/tests/e2e/cypress/_generated/videos
if-no-files-found: ignore

- name: 'Stop shop'
if: ${{ always() }}
uses: 'OXID-eSales/github-actions/stop_shop@v4'
Expand Down

0 comments on commit 224db3c

Please sign in to comment.