File tree 1 file changed +25
-25
lines changed
1 file changed +25
-25
lines changed Original file line number Diff line number Diff line change @@ -152,28 +152,28 @@ jobs:
152
152
TF_VAR_app_azuread_groupid : ${{ secrets.AZUREAD_GROUPID }}
153
153
TF_VAR_app_cypresstest_secret : ${{ secrets.CYPRESS_TEST_SECRET }}
154
154
155
- # cypress-tests:
156
- # needs: deploy-image
157
- # environment: staging
158
- # if: ${{ github.event.inputs.environment}} == staging
159
- # runs-on: ubuntu-latest
160
- # defaults:
161
- # run:
162
- # working-directory: ApplyToBecomeInternal/ApplyToBecomeCypressTests
163
- # steps:
164
- # - uses: actions/checkout@v2
165
- # - name: Setup node.js
166
- # uses: actions/setup-node@v1
167
- # with:
168
- # node-version: "16.x"
169
- # - name: Npm install
170
- # run: npm install
171
- # - name: Run cypress
172
- # run: npm run cy:run -- --env url='${{ secrets.ENDPOINT }}',authorizationHeader='${{ secrets.CYPRESS_TEST_SECRET }}'
173
- # env:
174
- # db: ${{ secrets.DB_CONNECTION_STRING }}
175
- # - uses: actions/upload-artifact@v1
176
- # if: failure()
177
- # with:
178
- # name: screenshots
179
- # path: ApplyToBecomeInternal/ApplyToBecomeCypressTests/cypress/screenshots
155
+ cypress-tests :
156
+ needs : deploy-image
157
+ environment : staging
158
+ if : ${{ github.event.inputs.environment}} == staging
159
+ runs-on : ubuntu-latest
160
+ defaults :
161
+ run :
162
+ working-directory : ApplyToBecomeInternal/ApplyToBecomeCypressTests
163
+ steps :
164
+ - uses : actions/checkout@v2
165
+ - name : Setup node.js
166
+ uses : actions/setup-node@v1
167
+ with :
168
+ node-version : " 16.x"
169
+ - name : Npm install
170
+ run : npm install
171
+ - name : Run cypress
172
+ run : npm run cy:run -- --env grepTags=@stage, url='${{ secrets.ENDPOINT }}',authorizationHeader='${{ secrets.CYPRESS_TEST_SECRET }}'
173
+ env :
174
+ db : ${{ secrets.DB_CONNECTION_STRING }}
175
+ - uses : actions/upload-artifact@v1
176
+ if : failure()
177
+ with :
178
+ name : screenshots
179
+ path : ApplyToBecomeInternal/ApplyToBecomeCypressTests/cypress/screenshots
You can’t perform that action at this time.
0 commit comments