From 406ae20bd71dbecf5bacee8c7a57afe40b03ae99 Mon Sep 17 00:00:00 2001 From: Jayam Patel Date: Wed, 25 Feb 2026 10:41:32 +0530 Subject: [PATCH] Update e2e tests to record all tests --- .github/workflows/full_stack_tests.yml | 8 ++++---- core/tests/wdio.conf.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/full_stack_tests.yml b/.github/workflows/full_stack_tests.yml index cb9c95572089c..d1d9055331bfa 100644 --- a/.github/workflows/full_stack_tests.yml +++ b/.github/workflows/full_stack_tests.yml @@ -144,25 +144,25 @@ 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}} path: /home/runner/work/oppia/webdriverio-screenshots - name: Uploading webpack bundles as an artifact - if: ${{ failure() }} + if: ${{ always() }} uses: actions/upload-artifact@v4 with: name: webpack-bundles-${{steps.generate_suite_name_for_artifacts.outputs.MODIFIED_SUITE_NAME}} path: /home/runner/work/oppia/oppia/build - name: Report failure if failed on oppia/oppia develop branch - if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}} + if: ${{ always() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}} uses: ./.github/actions/send-webhook-notification with: message: "An E2E test failed on the upstream develop branch." 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: [