Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
699c507
Fix for shouldValidateUploadTimeStamp failure due to NPE @line 468 wh…
patelila Sep 18, 2025
5ad04b3
use for beftaFwVersion - '9.2.5_CCD-6184'
patelila Sep 18, 2025
f542338
F-111 - Clean up role assignment
patelila Sep 19, 2025
ad4ff48
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Sep 19, 2025
4bfaa9e
revert change
patelila Sep 19, 2025
e7818c9
F-105 - Clean up role assignment made above
patelila Sep 22, 2025
fee8fb2
F-109 - Clean up role assignment made above
patelila Sep 22, 2025
1447bae
F-103.1 - Clean up role assignment made above
patelila Sep 22, 2025
646c9fa
F-103 - Clean up role assignment made above
patelila Sep 23, 2025
e832673
Removed files not used
patelila Sep 23, 2025
163f2d1
fix actualResponse.body.data contains a bad value: Must be non-null: …
patelila Sep 23, 2025
cf947c1
fix ignored FT
patelila Sep 23, 2025
c850453
fix ignored FT
patelila Sep 23, 2025
65bf35d
fix ignored FT
patelila Sep 23, 2025
ca7b191
F-101 - Clean up role assignment made above
patelila Sep 24, 2025
d957142
F-045 - Clean up role assignment made above
patelila Sep 24, 2025
2ba54fe
F-047 - Clean up role assignment made above
patelila Sep 24, 2025
58dd5a1
F-053 & F-054 - Clean up role assignment made above
patelila Sep 25, 2025
66a80d0
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Sep 25, 2025
d8016ab
F-053 & F-054 - Clean up role assignment made above
patelila Sep 25, 2025
3a4259f
F-053 & F-054 - Clean up role assignment made above
patelila Sep 25, 2025
85a85fb
F-055 & F-056 - Clean up role assignment made above
patelila Sep 26, 2025
78a49e6
F-107 - Clean up role assignment made above
patelila Sep 26, 2025
303fc0d
F-130 - Clean up role assignment made above
patelila Sep 26, 2025
434ddd8
F-1015 - Clean up role assignment made above
patelila Sep 26, 2025
e851d54
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Oct 3, 2025
5777677
F-1016 - Clean up role assignment made above
patelila Oct 3, 2025
9987e87
F-1017/F-1018 - Clean up role assignment made above
patelila Oct 6, 2025
b310c90
F-1018 - Clean up role assignment made above
patelila Oct 7, 2025
e798686
F-1019 - Clean up role assignment made above
patelila Oct 7, 2025
db7e670
F-1023 - Clean up role assignment made above
patelila Oct 8, 2025
cf835cb
F-108 - Clean up role assignment made above
patelila Oct 8, 2025
cef9c8a
F-1004 - Clean up role assignment
patelila Oct 9, 2025
d464f8e
F-1016/F1018/F-1024/F-1025 - Clean up role assignment
patelila Oct 10, 2025
9c8b6af
F-053/F-056 - Clean up role assignment
patelila Oct 10, 2025
791b1cb
empty commit to trigger build
patelila Oct 13, 2025
4330fa9
remove .mirrord
patelila Oct 14, 2025
a803939
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Oct 14, 2025
ad9ae32
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Oct 28, 2025
2a46ca6
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Nov 11, 2025
ccfacd3
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Nov 14, 2025
e0796f1
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Nov 17, 2025
90644d5
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Nov 25, 2025
c35ef7b
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Nov 26, 2025
e02e266
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Dec 2, 2025
d737b44
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
patelila Dec 9, 2025
2954394
Merge branch 'master' into CCD-6184_Add_role_assignment_cleanup_api_c…
hemantt Dec 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
F-105 - Clean up role assignment made above
  • Loading branch information
patelila committed Sep 22, 2025
commit e7818c9d885b27e652b62e8c3c2818a72791d0e8
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Feature: F-105: Add Case-Assigned Users and Roles
Then a positive response is received,
And the response has all the details as expected,
And a call [to verify Olawale's reception of the role CR-1 over the case C1] will get the expected response as in [S-105.1_Get_Case_Roles_for_Case_C1].
# Clean up role assignment made above
And a successful call [is made to remove Case Role CR-1] as in [F-105_Remove_Case_Assigned_User_role_for_Case_C1].

# RDM-8606/8806 AC-2
@S-105.2
Expand Down Expand Up @@ -182,7 +184,9 @@ Feature: F-105: Add Case-Assigned Users and Roles
And it is submitted to call the [Add Case-Assigned Users and Roles] operation of [CCD Data Store Api],
Then a positive response is received,
And the response has all the details as expected,
And a call [to verify Olawale's reception of the role CR-1 over the case C1] will get the expected response as in [S-105.12_Get_Case_Roles_for_Case_C1].
And a call [to verify Olawale's reception of the role CR-1 over the case C1] will get the expected response as in [S-105.12_Get_Case_Roles_for_Case_C1],
# Clean up role assignment made above
And a successful call [is made to remove Case Role CR-1] as in [F-105_Remove_Case_Assigned_User_role_for_Case_C1].

# RDM-8606 multiple
@S-105.13
Expand All @@ -198,7 +202,9 @@ Feature: F-105: Add Case-Assigned Users and Roles
And it is submitted to call the [Add Case-Assigned Users and Roles] operation of [CCD Data Store Api],
Then a positive response is received,
And the response has all the details as expected,
And a call [to verify Olawale's reception of the role CR-1 and CR-2 over the case C1] will get the expected response as in [S-105.13_Get_Case_Roles_for_Case_C1].
And a call [to verify Olawale's reception of the role CR-1 and CR-2 over the case C1] will get the expected response as in [S-105.13_Get_Case_Roles_for_Case_C1],
# Clean up role assignment made above
And a successful call [is made to remove Case Role CR-1 and CR-2] as in [F-105_Remove_Case_Assigned_User_role_for_Case_C1_C2].

# RDM-8842 AC-1
@S-105.14
Expand All @@ -220,7 +226,9 @@ Feature: F-105: Add Case-Assigned Users and Roles
And a call [to repeat the same request as above] will get the expected response as in [S-105.14_Repeated_Call_to_Add_Case_Assigned_Users_and_Roles],
And a call [to verify the count of users assigned to C1 has NOT changed] will get the expected response as in [S-105.14_Verify_Counter_2],
And a call [to repeat the same request as above this time with a different user, Hemanth] will get the expected response as in [S-105.14_Repeated_Call_to_Add_Case_Assigned_Users_and_Roles_Hemanth],
And a call [to verify the count of users assigned to a case has increased by 1] will get the expected response as in [S-105.14_Verify_Counter_3].
And a call [to verify the count of users assigned to a case has increased by 1] will get the expected response as in [S-105.14_Verify_Counter_3],
# Clean up role assignment made above
And a successful call [is made to remove Case Role CR-1 and CR-2] as in [F-105_Remove_Case_Assigned_User_role_Orgs_for_Case_C1_C2].

# RDM-8842 AC-2
@S-105.15
Expand All @@ -238,7 +246,9 @@ Feature: F-105: Add Case-Assigned Users and Roles
Then a positive response is received,
And the response has all the details as expected,
And a call [to verify Olawale's reception of the role CR-2 over the case C1] will get the expected response as in [S-105.15_Verify_Case_Roles_for_Case_C1],
And a call [to verify the count of users assigned to a case has NOT changed] will get the expected response as in [F-105_Verify_Counter_Unchanged].
And a call [to verify the count of users assigned to a case has NOT changed] will get the expected response as in [F-105_Verify_Counter_Unchanged],
# Clean up role assignment made above
And a successful call [is made to remove Case Role CR-1 and CR-2] as in [F-105_15_Remove_Case_Assigned_User_role_Orgs_for_Case_C1_C2].

# RDM-8842 AC-3
@S-105.16
Expand All @@ -255,7 +265,9 @@ Feature: F-105: Add Case-Assigned Users and Roles
Then a positive response is received,
And the response has all the details as expected,
And a call [to verify Olawale's reception of the role CR-1 over the case C1] will get the expected response as in [S-105.16_Verify_Case_Roles_for_Case_C1],
And a call [to verify the count of users assigned to a case has NOT changed] will get the expected response as in [F-105_Verify_Counter_Unchanged].
And a call [to verify the count of users assigned to a case has NOT changed] will get the expected response as in [F-105_Verify_Counter_Unchanged],
# Clean up role assignment made above
And a successful call [is made to remove Case Role CR-1 and CR-2] as in [F-105_16_Remove_Case_Assigned_User_role_Orgs_for_Case_C1].

# RDM-8842 AC-4
@S-105.17
Expand All @@ -274,7 +286,7 @@ Feature: F-105: Add Case-Assigned Users and Roles
Then a negative response is received,
And the response has all the details as expected,
And a call [to verify that Olawale hasn't received the role CR-1 over the case C1] will get the expected response as in [S-105.17_Verify_Case_Roles_for_Case_C1],
And a call [to verify the count of users assigned to a case has NOT changed] will get the expected response as in [F-105_Verify_Counter_Unchanged].
And a call [to verify the count of users assigned to a case has NOT changed] will get the expected response as in [F-105_Verify_Counter_Unchanged].,

# RDM-8842 AC-5
@S-105.18
Expand All @@ -292,4 +304,6 @@ Feature: F-105: Add Case-Assigned Users and Roles
Then a positive response is received,
And the response has all the details as expected,
And a call [to verify Olawale's reception of the role CR-2 over the case C1] will get the expected response as in [S-105.18_Verify_Case_Roles_for_Case_C1],
And a call [to verify the count of users assigned to a case has changed] will get the expected response as in [F-105_Verify_Counter_Changed].
And a call [to verify the count of users assigned to a case has changed] will get the expected response as in [F-105_Verify_Counter_Changed],
# Clean up role assignment made above
And a successful call [is made to remove Case Role CR-1 and CR-2] as in [F-105_18_Remove_Case_Assigned_User_role_Orgs_for_Case_C1_C2].
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"title": "Must successfully remove a user and case role for a specific case by a user calling through/from an authorised application",

"_guid_": "F-105_15_Remove_Case_Assigned_User_role_Orgs_for_Case_C1_C2",
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_Base",

"specs": [
"is made to remove Case Role CR-1 and CR-2"
],

"users": {
"_extends_": "F-105_Users"
},

"request": {
"headers": {
"Authorization": "Bearer ${[scenarioContext][testData][users][userDil][accessToken]}"
},
"body": {
"case_users": [
{
"case_id": "${}${[scenarioContext][siblingContexts][F-105_Case_Data_Create_C1][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][parentContext][testData][users][userOlawale][id]}",
"case_role" : "[CR-1]"
}, {
"case_id": "${}${[scenarioContext][siblingContexts][F-105_Case_Data_Create_C1][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][parentContext][testData][users][userOlawale][id]}",
"case_role": "[CR-2]"
}
]
}
},

"expectedResponse": {
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_200_response"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"title": "Must successfully remove a user and case role for a specific case by a user calling through/from an authorised application",

"_guid_": "F-105_16_Remove_Case_Assigned_User_role_Orgs_for_Case_C1",
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_Base",

"specs": [
"is made to remove Case Role CR-1 and CR-2"
],

"users": {
"_extends_": "F-105_Users"
},

"request": {
"headers": {
"Authorization": "Bearer ${[scenarioContext][testData][users][userDil][accessToken]}"
},
"body": {
"case_users": [
{
"case_id": "${}${[scenarioContext][siblingContexts][F-105_Case_Data_Create_C1][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][parentContext][testData][users][userOlawale][id]}",
"case_role" : "[CR-1]"
}
]
}
},

"expectedResponse": {
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_200_response"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"title": "Must successfully remove a user and case role for a specific case by a user calling through/from an authorised application",

"_guid_": "F-105_18_Remove_Case_Assigned_User_role_Orgs_for_Case_C1_C2",
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_Base",

"specs": [
"is made to remove Case Role CR-1 and CR-2"
],

"users": {
"_extends_": "F-105_Users"
},

"request": {
"headers": {
"Authorization": "Bearer ${[scenarioContext][testData][users][userRichard][accessToken]}"
},
"body": {
"case_users": [
{
"case_id": "${}${[scenarioContext][siblingContexts][F-105_Case_Data_Create_C1][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][parentContext][testData][users][userOlawale][id]}",
"case_role" : "[CREATOR]"
}, {
"case_id": "${}${[scenarioContext][siblingContexts][F-105_Case_Data_Create_C1][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][parentContext][testData][users][userOlawale][id]}",
"case_role": "[CR-2]"
}
]
}
},

"expectedResponse": {
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_200_response"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"title": "Must successfully remove a user and case role for a specific case by a user calling through/from an authorised application",

"_guid_": "F-105_Remove_Case_Assigned_User_role_Orgs_for_Case_C1_C2",
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_Base",

"specs": [
"is made to remove Case Role CR-1 and CR-2"
],

"users": {
"_extends_": "F-105_Users"
},

"request": {
"headers": {
"Authorization": "Bearer ${[scenarioContext][testData][users][userDil][accessToken]}"
},
"body": {
"case_users": [
{
"case_id": "${}${[scenarioContext][siblingContexts][F-105_Case_Data_Create_C1][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][parentContext][testData][users][userOlawale][id]}",
"case_role" : "[CR-1]"
}, {
"case_id": "${}${[scenarioContext][siblingContexts][F-105_Case_Data_Create_C1][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][parentContext][testData][users][userOlawale][id]}",
"case_role": "[CR-2]"
},
{
"case_id": "${[scenarioContext][siblingContexts][F-105_Case_Data_Create_C1][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][parentContext][testData][users][userHemanth][id]}",
"case_role": "[CR-1]"
},
{
"case_id": "${[scenarioContext][siblingContexts][F-105_Case_Data_Create_C1][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][parentContext][testData][users][userHemanth][id]}",
"case_role": "[CR-2]"
}
]
}
},

"expectedResponse": {
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_200_response"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"title": "Must successfully remove a user and case role for a specific case by a user calling through/from an authorised application",

"_guid_": "F-105_Remove_Case_Assigned_User_role_for_Case_C1",
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_Base",

"specs": [
"is made to remove Case Role CR-1"
],

"users": {
"_extends_": "F-105_Users"
},

"request": {
"headers": {
"Authorization": "Bearer ${[scenarioContext][testData][users][userDil][accessToken]}"
},
"body": {
"case_users": [
{
"case_id": "${}${[scenarioContext][siblingContexts][F-105_Prerequisite_Case_Creation_Call_for_Case_Assignment][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][testData][users][userOlawale][id]}",
"case_role": "[CR-1]"
}
]
}
},

"expectedResponse": {
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_200_response"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"title": "Must successfully remove a user and case role for a specific case by a user calling through/from an authorised application",

"_guid_": "F-105_Remove_Case_Assigned_User_role_for_Case_C1_C2",
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_Base",

"specs": [
"is made to remove Case Role CR-1 and CR-2"
],

"users": {
"_extends_": "F-105_Users"
},

"request": {
"headers": {
"Authorization": "Bearer ${[scenarioContext][testData][users][userDil][accessToken]}"
},
"body": {
"case_users": [
{
"case_id": "${}${[scenarioContext][siblingContexts][F-105_Prerequisite_Case_Creation_Call_for_Case_Assignment][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][testData][users][userOlawale][id]}",
"case_role": "[CR-1]"
},
{
"case_id": "${}${[scenarioContext][siblingContexts][F-105_Prerequisite_Case_Creation_Call_for_Case_Assignment][testData][actualResponse][body][id]}",
"user_id": "${[scenarioContext][testData][users][userOlawale][id]}",
"case_role": "[CR-2]"
}
]
}
},

"expectedResponse": {
"_extends_": "F-111_Remove_Case_Assigned_User_Roles_200_response"
}
}