diff --git a/.github/workflows/TestReuseActions.yml b/.github/workflows/TestReuseActions.yml index fca69cd784..60d2fe6fed 100644 --- a/.github/workflows/TestReuseActions.yml +++ b/.github/workflows/TestReuseActions.yml @@ -727,7 +727,7 @@ jobs: - name: Incase of test failures copy them to a file if: failure() run: | - cd /home/runner/work/appsmith/appsmith/app/client/cypress/ + cd ${{ github.workspace }}/app/client/cypress/ find screenshots -type d|grep spec |sed 's/screenshots/cypress\/integration/g' > ~/failed_spec/failed_spec-${{ matrix.job }} # Upload failed test list using common path for all matrix job diff --git a/.github/workflows/integration-tests-command.yml b/.github/workflows/integration-tests-command.yml index c54d543386..e639da2619 100644 --- a/.github/workflows/integration-tests-command.yml +++ b/.github/workflows/integration-tests-command.yml @@ -606,7 +606,7 @@ jobs: - name: Incase of test failures copy them to a file if: failure() run: | - cd /home/runner/work/appsmith/appsmith/app/client/cypress/ + cd ${{ github.workspace }}/app/client/cypress/ find screenshots -type d|grep spec |sed 's/screenshots/cypress\/integration/g' > ~/failed_spec/failed_spec-${{ matrix.job }} # Upload failed test list using common path for all matrix job diff --git a/.github/workflows/test-build-docker-image.yml b/.github/workflows/test-build-docker-image.yml index 5b5a88436f..52bf7dcd75 100644 --- a/.github/workflows/test-build-docker-image.yml +++ b/.github/workflows/test-build-docker-image.yml @@ -722,7 +722,7 @@ jobs: - name: Incase of test failures copy them to a file if: failure() run: | - cd /home/runner/work/appsmith/appsmith/app/client/cypress/ + cd ${{ github.workspace }}/app/client/cypress/ find screenshots -type d|grep spec |sed 's/screenshots/cypress\/integration/g' > ~/failed_spec/failed_spec-${{ matrix.job }} # Upload failed test list using common path for all matrix job