File tree Expand file tree Collapse file tree
.github/actions/acceptance-tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8888 fi
8989
9090 - name : Run test - ${{ inputs.testType }}
91- if : ${{ inputs.testType != 'e2e' || steps.check_proxy_deployed.outputs.proxy_deployed == 'true' }}
91+ if : ${{ inputs.testType != 'e2e'}}
9292 shell : bash
9393 env :
9494 TARGET_ENVIRONMENT : ${{ inputs.targetEnvironment }}
9595 run : |
9696 make test-${{ inputs.testType }}
97+
98+ - name : Run test - e2e
99+ if : ${{ inputs.testType == 'e2e' && steps.check_proxy_deployed.outputs.proxy_deployed == 'true'}}
100+ shell : bash
101+ env :
102+ TARGET_ENVIRONMENT : ${{ inputs.targetEnvironment }}
103+ run : |
104+ echo "$INTERNAL_DEV_TEST_PEM" > "${GITHUB_WORKSPACE}/internal-dev-test-1.pem"
105+ chmod 600 "${GITHUB_WORKSPACE}/internal-dev-test-1.pem"
106+ export PROXY_NAME=nhs-notify-supplier--internal-dev--nhs-notify-supplier
107+ export API_ENVIRONMENT=internal-dev
108+ export NON_PROD_PRIVATE_KEY="${GITHUB_WORKSPACE}/internal-dev-test-1.pem"
109+ make .internal-dev-test
Original file line number Diff line number Diff line change @@ -107,8 +107,6 @@ test-component:
107107test-sandbox :
108108 (cd tests && npm install && npm run test:sandbox)
109109
110- test-e2e : .internal-dev-test
111-
112110test-performance :
113111 (cd tests && npm install && npm run test:performance)
114112
You can’t perform that action at this time.
0 commit comments