Skip to content
Closed
Changes from all commits
Commits
Show all changes
23 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
2a9db71
test-indent-updated
ekpedemejames Sep 4, 2025
fa5ca28
fixed-conflicts
ekpedemejames Sep 4, 2025
6ba7750
fixed-merge-confict
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 @@ -30,7 +30,7 @@ test.describe('@DTOSS-3881-01 @e2e @epic4c- Cohort Manger subscribed the Added r
await validators(response);
});

await test.step('Then NHSNumber, GivenName, FamilyName is written to Participant Demographic table', async () => {
await test.step('Then NHSNumber, GivenName, FamilyName is written into Participant Demographic table', async () => {
const response = await retry(
() => getRecordsFromParticipantDemographicService(request),
(res) =>
Expand All @@ -44,7 +44,7 @@ test.describe('@DTOSS-3881-01 @e2e @epic4c- Cohort Manger subscribed the Added r
expect(response?.data?.[0]?.FamilyName).toBe("Doe");
});

await test.step('And NHSNumber, ScreeningId, ReferralFlag is written to Participant Management table', async () => {
await test.step('And NHSNumber, ScreeningId, ReferralFlag is written into Participant Management table', async () => {
const response = await retry(
() => getRecordsFromParticipantManagementService(request),
(res) =>
Expand All @@ -58,7 +58,6 @@ 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;

Expand All @@ -76,15 +75,6 @@ test.describe('@DTOSS-3881-01 @e2e @epic4c- Cohort Manger subscribed the Added r
},
{ 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 number: ${nhsNumber}`);
Expand Down
Loading