Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
20fef65
added-initial-test
ekpedemejames Aug 28, 2025
12c7ec7
added-config-to-test
ekpedemejames Aug 29, 2025
ae89af1
Merge branch 'main' of https://github.com/NHSDigital/dtos-cohort-mana…
ekpedemejames Aug 29, 2025
6196820
test-name-updated
ekpedemejames Aug 30, 2025
114dd82
Merge branch 'main' of https://github.com/NHSDigital/dtos-cohort-mana…
ekpedemejames Sep 1, 2025
ae83968
initial-test-added
ekpedemejames Sep 1, 2025
8868e51
Merge branch 'main' of https://github.com/NHSDigital/dtos-cohort-mana…
ekpedemejames Sep 1, 2025
9628fa3
test-3881-updated
ekpedemejames Sep 2, 2025
935384d
test-updated-to-include-superseded-fix
ekpedemejames Sep 3, 2025
ce1559e
merge-conflicts-fixed
ekpedemejames Sep 3, 2025
0ad1fa9
fixed-review-comment
ekpedemejames Sep 3, 2025
cbde0d0
Merge branch 'main' of https://github.com/NHSDigital/dtos-cohort-mana…
ekpedemejames Sep 3, 2025
c513592
updated-nhs-number-to-999
ekpedemejames Sep 3, 2025
257653c
merge-conflict-resolved
ekpedemejames Sep 3, 2025
7dbc832
Merge branch 'main' of https://github.com/NHSDigital/dtos-cohort-mana…
ekpedemejames Sep 3, 2025
0b7d377
test-config-updated
ekpedemejames Sep 3, 2025
ea1a555
Merge branch 'main' of https://github.com/NHSDigital/dtos-cohort-mana…
ekpedemejames Sep 3, 2025
71b33da
subscriber-status-config-added
ekpedemejames Sep 3, 2025
369d44e
fixed-retry-failure
ekpedemejames Sep 4, 2025
48b3970
conflict-fixed
ekpedemejames Sep 4, 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
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,36 @@ test.describe('@DTOSS-3881-01 @e2e @epic4c- Cohort Manger subscribed the Added r
expect(response?.data?.[0]?.ReferralFlag).toBe(1);
});

<<<<<<< HEAD:tests/playwright-tests/src/tests/e2e/epic4c-add-participant-tests/epic4c-10011-10012-testsuite.spec.ts
await test.step('DTOSS-10012 DTOSS-10012 verify NemsSubscription_Id in NEMS_SUBSCRIPTION table', async () => {
const nhsNumber = participantData['inputParticipantRecord'].u_case_variable_data.nhs_number;

const response = await retry(
async () => {
const res = await getRecordsFromNemsSubscription(request, nhsNumber);
const validators = composeValidators(expectStatus(200));
await validators(res);

return res;
},
(res) => {
const subscriptionID = extractSubscriptionID(res);
return subscriptionID !== null;
},
{ retries: 5, delayMs: 2000 }
);
=======
await test.step('DTOSS-10012 ADD verify NemsSubscription in NEMS_SUBSCRIPTION table', async () => {
const nhsNumber = participantData['inputParticipantRecord'].u_case_variable_data.nhs_number;
const response = await getRecordsFromNemsSubscription(request, nhsNumber);
const validators = composeValidators(
expectStatus(200)
);
await validators(response);
>>>>>>> e9abb1665a60258957de73ecf486b199808e514a:tests/playwright-tests/src/tests/e2e/epic4c-add-participant-tests/epic4c-testsuite.spec.ts
const subscriptionID = extractSubscriptionID(response);
expect(subscriptionID).not.toBeNull();

console.log(`Extracted Subscription ID: ${subscriptionID} for NHS number: ${nhsNumber}`);
console.log(`Extracted Subscription ID: ${subscriptionID} for number: ${nhsNumber}`);
});
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"meta": {
"testJiraId": "@DTOSS-3881-02",
"requirementJiraId": "@DTOSS-3881-02",
"additionalTags": "@epic4c- @e2e DTOSS-10013 1.Check updated telephone number record in (cohort distribution)"
"additionalTags": "@epic4c- @e2e DTOSS-10013 1.Check updated telephone number record in cohort distribution"
}
},
{
Expand All @@ -22,7 +22,7 @@
"meta": {
"testJiraId": "@DTOSS-3881-02",
"requirementJiraId": "@DTOSS-3881-02",
"additionalTags": "@epic4c- @e2e DTOSS-10013 2.verify data in record (participant demographic)"
"additionalTags": "@epic4c- @e2e DTOSS-10013 2.verify data in record is available in participant demographic table"
}
},
{
Expand All @@ -34,7 +34,7 @@
"meta": {
"testJiraId": "@DTOSS-3881-02",
"requirementJiraId": "@DTOSS-3881-02",
"additionalTags": "@epic4c- @e2e DTOSS-10013 3.check record (participant management)"
"additionalTags": "@epic4c- @e2e DTOSS-10013 3.check record in available in participant management table"
}
}
],
Expand Down
Loading