From 632f8a9fa16f7723e098861bbd6ff08123e494d3 Mon Sep 17 00:00:00 2001 From: Daniil Tkachev Date: Fri, 13 Dec 2024 17:42:38 +0100 Subject: [PATCH] TS-47 Add module-specific fixtures sql dump --- .github/oxid-esales/cypress.sh | 2 +- .github/workflows/trigger.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/oxid-esales/cypress.sh b/.github/oxid-esales/cypress.sh index e891d98..b322109 100755 --- a/.github/oxid-esales/cypress.sh +++ b/.github/oxid-esales/cypress.sh @@ -59,7 +59,7 @@ ls -la export CYPRESS_WORKDIR="${OXID_BUILD_DIRECTORY}/\/var\/www/vendor/oxid-solution-catalysts/telecash-module/tests/e2e" export CYPRESS_CONFIG="${OXID_BUILD_DIRECTORY}/\/var\/www/vendor/oxid-solution-catalysts/telecash-module/tests/e2e/cypress.config.js" echo "current CYPRESS_WORKDIR= '${CYPRESS_WORKDIR}'" -echo "current CYPRESS_WORKDIR= '${CYPRESS_CONFIG}'" +echo "current CYPRESS_CONFIG= '${CYPRESS_CONFIG}'" # Inject the Cypress service and start the container add_cypress_service run_docker_compose_up diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml index 0704e7a..d36135e 100644 --- a/.github/workflows/trigger.yaml +++ b/.github/workflows/trigger.yaml @@ -33,7 +33,9 @@ jobs: - name: Generate a custom summary run: | echo "Custom Summary Step: Gathering results..." - chmod 775 ./source/vendor/oxid-solution-catalysts/telecash-module/.github/oxid-esales/cypress.sh + ls -la + chmod 775 ./source/vendor/oxid-solution-catalysts/telecash-module/.github/oxid-esales/cypress.sh + export CYPRESS_WORKDIR="$(pwd)/source/www/vendor/oxid-solution-catalysts/telecash-module/tests/e2e" ./source/vendor/oxid-solution-catalysts/telecash-module/.github/oxid-esales/cypress.sh > cypress-output.txt echo "Results summarized successfully!"