Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
0b23d03
test_smoke_tests.py created
adam-wallernhs1 Jun 30, 2025
6d18562
moved more files
adam-wallernhs1 Jun 30, 2025
f469772
moved more files
adam-wallernhs1 Jun 30, 2025
c5765f7
moved more files
adam-wallernhs1 Jun 30, 2025
6296aad
moved more files
adam-wallernhs1 Jun 30, 2025
020de9e
moved more files
adam-wallernhs1 Jun 30, 2025
4c69e68
moved more files
adam-wallernhs1 Jun 30, 2025
ec70f7b
moved more files
adam-wallernhs1 Jun 30, 2025
c97feb6
moved more files
adam-wallernhs1 Jun 30, 2025
50763dd
moved more files
adam-wallernhs1 Jun 30, 2025
9e57e63
.gitignore and small change to test
adam-wallernhs1 Jun 30, 2025
3fc15c0
tidy before push
adam-wallernhs1 Jun 30, 2025
f79240b
linting changes and s3configmanager update
adam-wallernhs1 Jun 30, 2025
235b4cb
removal of common helpers
adam-wallernhs1 Jun 30, 2025
4c540e7
MORE TIDYING
adam-wallernhs1 Jun 30, 2025
b4c5e7e
added and updated story test for ELI-155 and ELI-291
adam-wallernhs1 Jun 30, 2025
248b5b9
added and updated story test for ELI-155 and ELI-291
adam-wallernhs1 Jun 30, 2025
c1b720a
some linting fixes
adam-wallernhs1 Jun 30, 2025
890b9a6
adding header functionality to the GET request
adam-wallernhs1 Jul 1, 2025
33aa4f5
adding header functionality to the GET request
adam-wallernhs1 Jul 1, 2025
d2eb090
adding header functionality to the GET request
adam-wallernhs1 Jul 1, 2025
9ef7f40
adding new scenarios
adam-wallernhs1 Jul 1, 2025
142ede7
updates to fix 90+ formatting and linting issues :)
adam-wallernhs1 Jul 2, 2025
e9b610f
test_smoke_tests.py created
adam-wallernhs1 Jun 30, 2025
e9be704
moved more files
adam-wallernhs1 Jun 30, 2025
3dd5368
moved more files
adam-wallernhs1 Jun 30, 2025
8cc9a26
moved more files
adam-wallernhs1 Jun 30, 2025
6f81e0d
moved more files
adam-wallernhs1 Jun 30, 2025
3f5c362
moved more files
adam-wallernhs1 Jun 30, 2025
2a6d55c
moved more files
adam-wallernhs1 Jun 30, 2025
7714d7e
moved more files
adam-wallernhs1 Jun 30, 2025
a7ab56c
moved more files
adam-wallernhs1 Jun 30, 2025
2b47d4f
moved more files
adam-wallernhs1 Jun 30, 2025
db55318
.gitignore and small change to test
adam-wallernhs1 Jun 30, 2025
88181c7
tidy before push
adam-wallernhs1 Jun 30, 2025
a5c2d20
linting changes and s3configmanager update
adam-wallernhs1 Jun 30, 2025
342dd62
removal of common helpers
adam-wallernhs1 Jun 30, 2025
9596a07
MORE TIDYING
adam-wallernhs1 Jun 30, 2025
21ecc48
added and updated story test for ELI-155 and ELI-291
adam-wallernhs1 Jun 30, 2025
e355d3c
added and updated story test for ELI-155 and ELI-291
adam-wallernhs1 Jun 30, 2025
47324aa
some linting fixes
adam-wallernhs1 Jun 30, 2025
2bbf091
adding header functionality to the GET request
adam-wallernhs1 Jul 1, 2025
f530dcb
adding header functionality to the GET request
adam-wallernhs1 Jul 1, 2025
2a4d1be
adding header functionality to the GET request
adam-wallernhs1 Jul 1, 2025
ba5bc98
adding new scenarios
adam-wallernhs1 Jul 1, 2025
f40bb3c
updates to fix 90+ formatting and linting issues :)
adam-wallernhs1 Jul 2, 2025
3afbb6a
Merge remote-tracking branch 'origin/test/test-api' into test/test-api
adam-wallernhs1 Jul 3, 2025
0f3d8fc
updates
adam-wallernhs1 Jul 7, 2025
256affd
updates
adam-wallernhs1 Jul 7, 2025
ae22f6c
tidying of data files and responses and some refactoring.
adam-wallernhs1 Jul 8, 2025
c4830d5
Merge branch 'main' into test/test-api
adam-wallernhs1 Jul 8, 2025
ec47e9f
addition of more data files and the functionality to include query_pa…
adam-wallernhs1 Jul 10, 2025
2594c29
Merge branch 'main' into test/test-api
adam-wallernhs1 Jul 10, 2025
e255cbe
addition of more data files and clean up of how to deal with dynamic …
adam-wallernhs1 Jul 14, 2025
c07599f
Merge branch 'main' into test/test-api
adam-wallernhs1 Jul 14, 2025
4262306
additional error scenarios and lots more data changes and refactoring
adam-wallernhs1 Jul 15, 2025
cf41fff
eli-320 cases added
adam-wallernhs1 Jul 15, 2025
d1700ad
eli-295 cases added and some refactoring
adam-wallernhs1 Jul 18, 2025
2aa891c
eli-222 cases
adam-wallernhs1 Jul 21, 2025
bb448eb
eli-295 cases
adam-wallernhs1 Jul 21, 2025
cf0f009
eli-221 cases
adam-wallernhs1 Jul 22, 2025
d7f460d
Added a WEEK Case to _resolve_placeholder_value
adam-wallernhs1 Jul 23, 2025
271f8ec
sean demo tests
adam-wallernhs1 Jul 23, 2025
40decc1
Lots of new scenarios and scenario updates
adam-wallernhs1 Jul 28, 2025
12fc10f
added vita int tests, ELI-365,
adam-wallernhs1 Aug 1, 2025
16bb879
updated configs for 311 for. added ability to assert the response co…
adam-wallernhs1 Aug 5, 2025
06f9847
removed some breaking code
adam-wallernhs1 Aug 5, 2025
7ae2bb6
ELI-320 new sceanrio
adam-wallernhs1 Aug 7, 2025
8e0f86f
added the in progress test
adam-wallernhs1 Aug 8, 2025
8f58478
added ELI-399 regression tests
adam-wallernhs1 Aug 11, 2025
b219134
added ELI-399, 373 regression tests
adam-wallernhs1 Aug 11, 2025
8fc6b55
added ELI-399, 373 regression tests
adam-wallernhs1 Aug 12, 2025
e5a5587
ELI-365 - over 80s (#288)
seansteberisal Aug 12, 2025
2b6e864
Merge remote-tracking branch 'origin/test/test-api' into test/test-api
adam-wallernhs1 Aug 12, 2025
b527500
Merge branch 'main' into test/test-api
adam-wallernhs1 Aug 12, 2025
5f7c914
added ELI-399, 373 regression tests
adam-wallernhs1 Aug 12, 2025
f63d69d
added ELI-399, 373 regression tests
adam-wallernhs1 Aug 12, 2025
88be993
added ELI-399, 373 regression tests
adam-wallernhs1 Aug 12, 2025
b0f355a
Merge branch 'main' into test/test-api
adam-wallernhs1 Aug 12, 2025
bcbe073
Merge branch 'main' into test/test-api
seansteberisal Aug 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ sandbox/specification/*
/specification/tmp/*
/tests/e2e/data/out*
/tests/e2e/reports/*
/tests/e2e/.temp/
/tests/e2e/certs/
3 changes: 2 additions & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
terraform 1.12.1
pre-commit 4.2.0
vale 3.11.2
poetry 2.1.3
poetry 2.1.4
act 0.2.77
nodejs 22.18.0

# ==============================================================================
# The section below is reserved for Docker image versions.
Expand Down
109 changes: 105 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jsonschema = "^4.24.0"
behave = "^1.2.6"
boto3 = "^1.38.42"
python-dotenv = "^1.1.1"
openapi-spec-validator = "^0.7.2"

[tool.poetry-plugin-lambda-build]
docker-image = "public.ecr.aws/sam/build-python3.13:1.139-x86_64" # See https://gallery.ecr.aws/search?searchTerm=%22python%22&architecture=x86-64&popularRegistries=amazon&verified=verified&operatingSystems=Linux
Expand Down
4 changes: 3 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[pytest]
python_files = *_tests.py test_*.py
norecursedirs = .venv .eggs build dist utils
addopts = --strict-markers
#addopts = --strict-markers
markers =
e2e: end to end tests
smoketest: suitable to run against all environments even production
functionale2eregression: functional regression tests
sandboxtests: tests to replicate example sandbox responses agreed with vita
27 changes: 0 additions & 27 deletions tests/e2e/.env.example

This file was deleted.

2 changes: 2 additions & 0 deletions tests/e2e/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ assets/
# Logs
*.log
/helpers/output/
/.hypothesis/unicode_data/15.1.0/charmap.json.gz
/tests/.hypothesis/unicode_data/15.1.0/charmap.json.gz
Binary file not shown.
85 changes: 85 additions & 0 deletions tests/e2e/data/audit/AUTO_RSV_ELI-376-01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"request": {
"requestTimestamp": "2025-08-11 07:43:12.954767+00:00",
"headers": {
"xRequestId": null,
"xCorrelationId": null,
"nhsdEndUserOrganisationOds": null,
"nhsdApplicationId": null
},
"queryParams": {
"category": null,
"conditions": null,
"includeActions": null
},
"nhsNumber": "9900376001"
},
"response": {
"responseId": "0300f1e8-6004-4229-a972-29220f08b8e9",
"lastUpdated": "2025-08-11 07:43:13.267973+00:00",
"condition": [
{
"campaignId": "AUTO_RSV_ELI-376-01-Campaign-ID",
"campaignVersion": 1,
"iterationId": "AUTO_RSV_ELI-376-01-Iteration-ID",
"iterationVersion": 1,
"conditionName": "RSV",
"status": "actionable",
"statusText": "You should have the RSV vaccine",
"eligibilityCohorts": [
{
"cohortCode": "rsv_eli_376_cohort_1",
"cohortStatus": "actionable"
},
{
"cohortCode": "rsv_eli_376_cohort_2",
"cohortStatus": "actionable"
},
{
"cohortCode": "rsv_eli_376_cohort_3",
"cohortStatus": "actionable"
},
{
"cohortCode": "rsv_eli_376_cohort_4",
"cohortStatus": "actionable"
}
],
"eligibilityCohortGroups": [
{
"cohortCode": "rsv_eli_376_cohort_group",
"cohortText": "are a member of eli_376_cohort_group_0",
"cohortStatus": "actionable"
},
{
"cohortCode": "rsv_eli_376_cohort_group",
"cohortText": "are a member of eli_376_cohort_group_10",
"cohortStatus": "actionable"
},
{
"cohortCode": "rsv_eli_376_cohort_group",
"cohortText": "are a member of eli_376_cohort_group_20",
"cohortStatus": "actionable"
},
{
"cohortCode": "rsv_eli_376_cohort_group_other",
"cohortText": "are a member of eli_376_cohort_group_other",
"cohortStatus": "actionable"
}
],
"filterRules": null,
"suitabilityRules": null,
"actionRule": null,
"actions": [
{
"internalActionCode": "TEST_ACTION",
"actionType": "ButtonWithAuthLink",
"actionCode": "TestAction",
"actionDescription": "TestAction Description",
"actionUrl": "http://www.nhs.uk/book-rsv",
"actionUrlLabel": "Continue to booking"
}
]
}
]
}
}
Loading