File tree Expand file tree Collapse file tree 6 files changed +18
-5
lines changed
actions/run-end-to-end-tests Expand file tree Collapse file tree 6 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ inputs:
1212 default : ' false'
1313 imms_api_tests :
1414 default : ' false'
15+ pds_api_tests :
16+ default : ' false'
1517 device :
1618 required : true
1719 base_url :
7173 exclude="not imms_api"
7274 fi
7375 fi
76+ if [ "${{ inputs.pds_api_tests }}" = "false" ]; then
77+ if [ -n "$exclude" ]; then
78+ exclude="$exclude and not pds_api"
79+ else
80+ exclude="not pds_api"
81+ fi
82+ fi
7483 if [ -z "$exclude" ]; then
7584 exclude="True"
7685 fi
Original file line number Diff line number Diff line change 4646 device : ${{ matrix.device }}
4747 base_url : ${{ vars.BASE_URL }}
4848 imms_api_tests : ' true'
49+ pds_api_tests : ' true'
4950 reporting_tests : ' true'
5051 playwright_cache_hit : ${{ steps.playwright-cache.outputs.cache-hit }}
5152 screenshot_all_steps : ' false'
Original file line number Diff line number Diff line change 99 default : ' '
1010 type : string
1111 cross_service_tests :
12- description : ' Include imms api and reporting tests'
12+ description : ' Include imms api, pds api and reporting tests'
1313 required : false
1414 default : false
1515 type : boolean
9393 required : false
9494 default : ' '
9595 cross_service_tests :
96- description : ' Include imms api and reporting tests'
96+ description : ' Include imms api, pds api and reporting tests'
9797 required : false
9898 default : ' true'
9999 type : choice
@@ -257,6 +257,7 @@ jobs:
257257 with :
258258 tests : ${{ steps.set-variables.outputs.tests }}
259259 imms_api_tests : ${{ steps.set-variables.outputs.cross_service_tests }}
260+ pds_api_tests : ${{ steps.set-variables.outputs.cross_service_tests }}
260261 reporting_tests : ${{ steps.set-variables.outputs.cross_service_tests }}
261262 github_ref : ${{ inputs.github_ref || github.head_ref }}
262263 device : ${{ steps.set-variables.outputs.device }}
Original file line number Diff line number Diff line change 99 default : ' '
1010 type : string
1111 cross_service_tests :
12- description : ' Include imms api and reporting tests'
12+ description : ' Include imms api, pds api and reporting tests'
1313 required : false
1414 default : false
1515 type : boolean
8585 required : false
8686 default : ' '
8787 cross_service_tests :
88- description : ' Include imms api and reporting tests'
88+ description : ' Include imms api, pds api and reporting tests'
8989 required : false
9090 default : ' true'
9191 type : choice
@@ -241,6 +241,7 @@ jobs:
241241 with :
242242 tests : ${{ steps.set-variables.outputs.tests }}
243243 imms_api_tests : ${{ steps.set-variables.outputs.cross_service_tests }}
244+ pds_api_tests : ${{ steps.set-variables.outputs.cross_service_tests }}
244245 reporting_tests : ${{ steps.set-variables.outputs.cross_service_tests }}
245246 github_ref : ${{ inputs.github_ref || github.head_ref }}
246247 device : ${{ steps.set-variables.outputs.device }}
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ markers = [
5252 " imms_api" ,
5353 " log_in" ,
5454 " national_reporting" ,
55+ " pds_api" ,
5556 " rav" ,
5657 " reporting" ,
5758 " school_moves" ,
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def test_match_unmatched_consent_response_and_verify_activity_log(
162162 ChildRecordPage (page ).click_programme (Programme .HPV )
163163 ChildProgrammePage (page ).verify_activity_log_for_created_or_matched_child ()
164164
165-
165+ @ pytest . mark . pds_api
166166def test_create_child_record_from_consent_with_nhs_number (
167167 give_online_consent_pds_child ,
168168 pds_child ,
You can’t perform that action at this time.
0 commit comments