diff --git a/.github/workflows/run-tests-pro.yaml b/.github/workflows/run-tests-pro.yaml index 0a8105ad8..8b0a9a121 100644 --- a/.github/workflows/run-tests-pro.yaml +++ b/.github/workflows/run-tests-pro.yaml @@ -54,11 +54,15 @@ jobs: cd ../dbgate-merged cd e2e-tests yarn test:ci + - name: Copy screenshots + run: | + mkdir screenshots + cp ../dbgate-merged/e2e-tests/cypress/screenshots/*.png screenshots/ - name: Upload E2E screenshots uses: actions/upload-artifact@v4 with: - name: e2e-screenshots - path: ../dbgate-merged/e2e-tests/cypress/screenshots + name: screenshots + path: screenshots services: postgres-cypress: image: postgres diff --git a/workflow-templates/run-tests-pro.yaml b/workflow-templates/run-tests-pro.yaml index 3ef1c4061..d984ea823 100644 --- a/workflow-templates/run-tests-pro.yaml +++ b/workflow-templates/run-tests-pro.yaml @@ -45,11 +45,16 @@ jobs: cd e2e-tests yarn test:ci + - name: Copy screenshots + run: | + mkdir screenshots + cp ../dbgate-merged/e2e-tests/cypress/screenshots/*.png screenshots/ + - name: Upload E2E screenshots uses: actions/upload-artifact@v4 with: - name: e2e-screenshots - path: ../dbgate-merged/e2e-tests/cypress/screenshots + name: screenshots + path: screenshots services: postgres-cypress: