@@ -921,23 +921,22 @@ jobs:
921
921
E2E_TEST_PUBLISH_SCRIPT_NODE_VERSION : ${{ steps.versions.outputs.node }}
922
922
923
923
- name : Copy to temp
924
- run :
925
- yarn ci:copy-to-temp ./test-applications/${{ matrix.test-application }} ${{ runner.temp }}/test-application
924
+ run : yarn ci:copy-to-temp ./test-applications/${{ matrix.test-application }} ${{ runner.temp }}/test-application
926
925
working-directory : dev-packages/e2e-tests
927
926
928
927
- name : Build E2E app
929
- working-directory : ${{ runner.temp }}/test-application
928
+ working-directory : ${{ runner.temp }}/test-application
930
929
timeout-minutes : 7
931
930
run : pnpm ${{ matrix.build-command || 'test:build' }}
932
931
933
932
- name : Install Playwright
934
933
uses : ./.github/actions/install-playwright
935
934
with :
936
935
browsers : chromium
937
- cwd : ${{ runner.temp }}/test-application
936
+ cwd : ${{ runner.temp }}/test-application
938
937
939
938
- name : Run E2E test
940
- working-directory : ${{ runner.temp }}/test-application
939
+ working-directory : ${{ runner.temp }}/test-application
941
940
timeout-minutes : 10
942
941
run : pnpm test:assert
943
942
@@ -946,7 +945,7 @@ jobs:
946
945
if : failure()
947
946
with :
948
947
name : playwright-traces-job_e2e_playwright_tests-${{ matrix.test-application}}
949
- path : ${{ runner.temp }}/test-application/test-results
948
+ path : ${{ runner.temp }}/test-application/test-results
950
949
overwrite : true
951
950
retention-days : 7
952
951
@@ -960,7 +959,7 @@ jobs:
960
959
if : always()
961
960
with :
962
961
name : E2E Test Dump (${{ matrix.label || matrix.test-application }})
963
- path : ${{ runner.temp }}/test-application/event-dumps
962
+ path : ${{ runner.temp }}/test-application/event-dumps
964
963
overwrite : true
965
964
retention-days : 7
966
965
if-no-files-found : ignore
@@ -1042,19 +1041,23 @@ jobs:
1042
1041
env :
1043
1042
E2E_TEST_PUBLISH_SCRIPT_NODE_VERSION : ${{ steps.versions.outputs.node }}
1044
1043
1044
+ - name : Copy to temp
1045
+ run : yarn ci:copy-to-temp ./test-applications/${{ matrix.test-application }} ${{ runner.temp }}/test-application
1046
+ working-directory : dev-packages/e2e-tests
1047
+
1045
1048
- name : Build E2E app
1046
- working-directory : dev-packages/e2e-tests/test-applications/ ${{ matrix.test-application }}
1049
+ working-directory : ${{ runner.temp }}/test-application
1047
1050
timeout-minutes : 7
1048
1051
run : pnpm ${{ matrix.build-command || 'test:build' }}
1049
1052
1050
1053
- name : Install Playwright
1051
1054
uses : ./.github/actions/install-playwright
1052
1055
with :
1053
1056
browsers : chromium
1054
- cwd : dev-packages/e2e-tests/test-applications/ ${{ matrix.test-application }}
1057
+ cwd : ${{ runner.temp }}/test-application
1055
1058
1056
1059
- name : Run E2E test
1057
- working-directory : dev-packages/e2e-tests/test-applications/ ${{ matrix.test-application }}
1060
+ working-directory : ${{ runner.temp }}/test-application
1058
1061
timeout-minutes : 10
1059
1062
run : pnpm ${{ matrix.assert-command || 'test:assert' }}
1060
1063
@@ -1068,7 +1071,7 @@ jobs:
1068
1071
if : always()
1069
1072
with :
1070
1073
name : E2E Test Dump (${{ matrix.label || matrix.test-application }})
1071
- path : dev-packages/e2e-tests/test-applications/ ${{ matrix.test-application }}/event-dumps
1074
+ path : ${{ runner.temp }}/test-application /event-dumps
1072
1075
overwrite : true
1073
1076
retention-days : 7
1074
1077
if-no-files-found : ignore
@@ -1081,7 +1084,7 @@ jobs:
1081
1084
accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
1082
1085
projectName : ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
1083
1086
directory : dist
1084
- workingDirectory : dev-packages/e2e-tests/test-applications/ ${{ matrix.test-application }}
1087
+ workingDirectory : ${{ runner.temp }}/test-application
1085
1088
1086
1089
job_required_jobs_passed :
1087
1090
name : All required jobs passed or were skipped
0 commit comments