Skip to content

Commit

Permalink
Merge pull request #142 from hmcts/ia-wa-post-deployment-ft-tests-mas…
Browse files Browse the repository at this point in the history
…ter-remitted

RIA-TASK - REMITTED -> Master: DO NOT MERGE
  • Loading branch information
colmlynch60 authored May 22, 2024
2 parents 0919f97 + 64a7428 commit 9c11a32
Showing 1 changed file with 151 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
{
"description": "RIA-8285 markAppealAsRemitted event should create reviewRemittedAppeal task",
"enabled": true,
"jurisdiction": "IA",
"caseType": "Asylum",
"options": {
"taskRetrievalApi": "task-management-api"
},
"required": {
"credentials": "IALegalRepresentative",
"ccd": [
{
"eventId": "submitAppeal",
"state": "appealStarted",
"caseData": {
"template": "minimal-appeal-started.json",
"replacements": {
"appealType": "protection",
"homeOfficeDecisionDate": "{$TODAY-14}"
}
}
}
]
},
"test": {
"request": {
"credentials": "AdminOfficer",
"input": {
"eventMessages": [
{
"template": "minimal-ccd-event-message.json",
"replacements": {
"EventId": "markAppealAsRemitted",
"AdditionalData": {
"Data": {
"appealType": "protection"
}
}
}
}
]
}
},
"expectations": [
{
"credentials": "IACaseworker",
"status": 200,
"numberOfTasksAvailable": 1,
"taskTypes": ["reviewRemittedAppeal"],
"taskData": {
"template": "minimal-task-response.json",
"replacements": {
"tasks": [
{
"id": "{$VERIFIER-UUID}",
"case_name": "Functional PostDeployment",
"case_id": "{$GENERATED_CASE_ID}",
"case_category": "Protection",
"name": "Review remitted appeal",
"type": "reviewRemittedAppeal",
"task_state": "unassigned",
"task_system": "SELF",
"security_classification": "PUBLIC",
"task_title": "Review remitted appeal",
"created_date": "{$VERIFIER-ZONED_DATETIME_TODAY}",
"due_date": "{$VERIFIER-ZONED_DATETIME_TODAY+5_WORKING_DAYS}",
"execution_type": "Case Management Task",
"jurisdiction": "IA",
"case_type_id": "Asylum",
"region": "1",
"location": "765324",
"location_name": "Taylor House",
"auto_assigned": false,
"warnings": false,
"role_category": "LEGAL_OPERATIONS",
"warning_list": {
"values": [

]
},
"case_management_category": "Protection",
"work_type_id": "routine_work",
"permissions": {
"values": [
"Read",
"Own",
"Claim",
"Manage","Unassign","Assign","Complete",
"Execute",
"Cancel"
]
}
}
]
}
},
"numberOfRolesAvailable": 4,
"roleData": {
"roles": [
{
"role_category": "LEGAL_OPERATIONS",
"role_name": "case-manager",
"permissions": [
"Read",
"Own","Claim",
"Cancel"
],
"authorisations": [
]
},
{
"role_category": "LEGAL_OPERATIONS",
"role_name": "senior-tribunal-caseworker",
"permissions": [
"Read",
"Own","Claim",
"Manage","Unassign","Assign","Complete",
"Cancel"
],
"authorisations": [
]
},
{
"role_name": "task-supervisor",
"permissions": [
"Read",
"Manage","Unassign","Assign","Complete",
"Execute","Claim",
"Cancel"
],
"authorisations": [
]
},
{
"role_category": "LEGAL_OPERATIONS",
"role_name": "tribunal-caseworker",
"permissions": [
"Read",
"Own","Claim",
"Manage","Unassign","Assign","Complete",
"Cancel"
],
"authorisations": [
]
}
]
}
}
]
}
}

0 comments on commit 9c11a32

Please sign in to comment.