diff --git a/.github/workflows/full_stack_tests.yml b/.github/workflows/full_stack_tests.yml index cb9c95572089c..0ec39aa83950c 100644 --- a/.github/workflows/full_stack_tests.yml +++ b/.github/workflows/full_stack_tests.yml @@ -144,13 +144,13 @@ jobs: name: e2e-test-retry-logs-${{ steps.generate_suite_name_for_artifacts.outputs.MODIFIED_SUITE_NAME }} path: e2e_test_retry_${{ steps.generate_suite_name_for_artifacts.outputs.MODIFIED_SUITE_NAME }}.log - name: Uploading webdriverio-video as Artifacts - if: ${{ failure() }} + if: ${{ always() }} uses: actions/upload-artifact@v4 with: name: webdriverio-video-${{steps.generate_suite_name_for_artifacts.outputs.MODIFIED_SUITE_NAME}} path: /home/runner/work/oppia/webdriverio-video - name: Uploading webdriverio screenshots as Artifacts - if: ${{ failure() }} + if: ${{ always() }} uses: actions/upload-artifact@v4 with: name: webdriverio-screenshots-${{steps.generate_suite_name_for_artifacts.outputs.MODIFIED_SUITE_NAME}} diff --git a/core/tests/wdio.conf.js b/core/tests/wdio.conf.js index cbe6602d71566..b12cc63a9204d 100644 --- a/core/tests/wdio.conf.js +++ b/core/tests/wdio.conf.js @@ -21,7 +21,7 @@ var ffmpegProcess = null; // The absolute path where the recorded video of test will be stored. var videoPath = null; // Enable ALL_VIDEOS if you want success videos to be saved. -const ALL_VIDEOS = false; +const ALL_VIDEOS = true; var suites = { full: [