From 22713cd1c0aaf205783e765ebda59c2f8acac0e7 Mon Sep 17 00:00:00 2001 From: ekpedeme james Date: Tue, 12 Aug 2025 10:10:10 +0100 Subject: [PATCH 1/4] updated-config-to-run-test --- tests/playwright-tests/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright-tests/package.json b/tests/playwright-tests/package.json index 1b0f25e412..d20503c5bf 100644 --- a/tests/playwright-tests/package.json +++ b/tests/playwright-tests/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "main": "index.js", "scripts": { - "test:smoke_e2e": "cross-env TEST_TYPE=SMOKE npx playwright test --project=dev --config=src/config/playwright.config.ts --grep=\"@smoke @e2e\"", + "test:smoke_e2e": "cross-env TEST_TYPE=SMOKE npx playwright test --project=dev --config=src/config/playwright.config.ts --grep=\"@epic4c-\"", "test:regression_api": "npx playwright test --project=dev --config=src/config/playwright.config.ts --grep=\"@regression @api\"", "test:regression_e2e_epic1": "cross-env TEST_TYPE=RegressionEpic1 npx playwright test --project=dev --config=src/config/playwright.config.ts --grep=@epic1-high", "test:regression_e2e_epic2": "cross-env TEST_TYPE=RegressionEpic2 npx playwright test --project=dev --config=src/config/playwright.config.ts --grep=@epic2-high", From a6c85536827196eebcd22273b89c5d28205783e1 Mon Sep 17 00:00:00 2001 From: ekpedeme james Date: Tue, 12 Aug 2025 11:28:44 +0100 Subject: [PATCH 2/4] add-test-smoke-run --- tests/playwright-tests/package.json | 2 +- .../e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/playwright-tests/package.json b/tests/playwright-tests/package.json index d20503c5bf..1b0f25e412 100644 --- a/tests/playwright-tests/package.json +++ b/tests/playwright-tests/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "main": "index.js", "scripts": { - "test:smoke_e2e": "cross-env TEST_TYPE=SMOKE npx playwright test --project=dev --config=src/config/playwright.config.ts --grep=\"@epic4c-\"", + "test:smoke_e2e": "cross-env TEST_TYPE=SMOKE npx playwright test --project=dev --config=src/config/playwright.config.ts --grep=\"@smoke @e2e\"", "test:regression_api": "npx playwright test --project=dev --config=src/config/playwright.config.ts --grep=\"@regression @api\"", "test:regression_e2e_epic1": "cross-env TEST_TYPE=RegressionEpic1 npx playwright test --project=dev --config=src/config/playwright.config.ts --grep=@epic1-high", "test:regression_e2e_epic2": "cross-env TEST_TYPE=RegressionEpic2 npx playwright test --project=dev --config=src/config/playwright.config.ts --grep=@epic2-high", diff --git a/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts b/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts index af962a7888..64b483bea7 100644 --- a/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts +++ b/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts @@ -31,5 +31,5 @@ -export const runnerBasedEpic123TestScenariosAdd = "@DTOSS-6256-01|@DTOSS-6406-01|@DTOSS-7960-01"; -export const runnerBasedEpic123TestScenariosAddAmend = "@DTOSS-6257-01|@DTOSS-6407-01"; +export const runnerBasedEpic123TestScenariosAdd = "@DTOSS-6256-01|@DTOSS-6406-01|@DTOSS-7960-01|@DTOSS-9337-01"; +export const runnerBasedEpic123TestScenariosAddAmend = "@DTOSS-6257-01|@DTOSS-6407-01|@DTOSS-9337-01"; From 27c382cabfb581f619660a395c513a0c16f69ddb Mon Sep 17 00:00:00 2001 From: ekpedeme james Date: Tue, 12 Aug 2025 11:58:56 +0100 Subject: [PATCH 3/4] set new config to test --- .../@DTOSS-9337-01/ADD1_CAAS_BREAST_SCREENING_COHORT.json | 2 +- .../@DTOSS-9337-01/AMENDED1_CAAS_BREAST_SCREENING_COHORT.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/ADD1_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/ADD1_CAAS_BREAST_SCREENING_COHORT.json index fd6e1d1c33..0e233ec875 100644 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/ADD1_CAAS_BREAST_SCREENING_COHORT.json +++ b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/ADD1_CAAS_BREAST_SCREENING_COHORT.json @@ -8,7 +8,7 @@ "meta": { "testJiraId": "@DTOSS-9337-01", "requirementJiraId": "DTOSS-9337", - "additionalTags": "@regression @e2e @epic4c- Add participant record to test superseded_by_nhs_number" + "additionalTags": "@smoke @e2e @epic4c- Add participant record to test superseded_by_nhs_number" } } ], diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/AMENDED1_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/AMENDED1_CAAS_BREAST_SCREENING_COHORT.json index 5cf9507fea..4eae8f3138 100644 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/AMENDED1_CAAS_BREAST_SCREENING_COHORT.json +++ b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/AMENDED1_CAAS_BREAST_SCREENING_COHORT.json @@ -12,7 +12,7 @@ "meta": { "testJiraId": "@DTOSS-9337-01", "requirementJiraId": "DTOSS-9337", - "additionalTags": "@regression @e2e @epic4c- validate primary care provider, reason for removal and superseded number" + "additionalTags": "@smoke @e2e @epic4c- validate primary care provider, reason for removal and superseded number" } }, { @@ -25,7 +25,7 @@ "meta": { "testJiraId": "@DTOSS-9337-01", "requirementJiraId": "DTOSS-9337", - "additionalTags": "@regression @e2e @epic4c- validate exception for Superseded_number transformation" + "additionalTags": "@smoke @e2e @epic4c- validate exception for Superseded_number transformation" } } ], From 86a24a554367e60364733f40b87043facf2415ed Mon Sep 17 00:00:00 2001 From: ekpedeme james Date: Tue, 12 Aug 2025 12:36:26 +0100 Subject: [PATCH 4/4] dtoss-9337-tagged-to-run-with-epic3-med --- .../e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts | 4 ++-- .../epic3-med-priority-testsuite-migrated.ts | 4 ++-- .../@DTOSS-9337-01/ADD1_CAAS_BREAST_SCREENING_COHORT.json | 2 +- .../@DTOSS-9337-01/AMENDED1_CAAS_BREAST_SCREENING_COHORT.json | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts b/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts index 64b483bea7..af962a7888 100644 --- a/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts +++ b/tests/playwright-tests/src/tests/e2e/epic123-smoke-tests/epic123-smoke-tests-migrated.ts @@ -31,5 +31,5 @@ -export const runnerBasedEpic123TestScenariosAdd = "@DTOSS-6256-01|@DTOSS-6406-01|@DTOSS-7960-01|@DTOSS-9337-01"; -export const runnerBasedEpic123TestScenariosAddAmend = "@DTOSS-6257-01|@DTOSS-6407-01|@DTOSS-9337-01"; +export const runnerBasedEpic123TestScenariosAdd = "@DTOSS-6256-01|@DTOSS-6406-01|@DTOSS-7960-01"; +export const runnerBasedEpic123TestScenariosAddAmend = "@DTOSS-6257-01|@DTOSS-6407-01"; diff --git a/tests/playwright-tests/src/tests/e2e/epic3-medpriority-tests/epic3-med-priority-testsuite-migrated.ts b/tests/playwright-tests/src/tests/e2e/epic3-medpriority-tests/epic3-med-priority-testsuite-migrated.ts index 7da216b1c8..9ad5a14661 100644 --- a/tests/playwright-tests/src/tests/e2e/epic3-medpriority-tests/epic3-med-priority-testsuite-migrated.ts +++ b/tests/playwright-tests/src/tests/e2e/epic3-medpriority-tests/epic3-med-priority-testsuite-migrated.ts @@ -24,6 +24,6 @@ // This equates to "@epic3-med" tags, configured in the package.json at the playwright-tests root location. -export const runnerBasedEpic3MedTestScenariosAdd = "@DTOSS-4967-01|@DTOSS-4975-01|@DTOSS-6325-01|@DTOSS-5374-01|@DTOSS-6320-01|@DTOSS-5578-01|@DTOSS-5582-01" +export const runnerBasedEpic3MedTestScenariosAdd = "@DTOSS-4967-01|@DTOSS-4975-01|@DTOSS-6325-01|@DTOSS-5374-01|@DTOSS-6320-01|@DTOSS-5578-01|@DTOSS-5582-01|@DTOSS-9337-01" -export const runnerBasedEpic3MedTestScenariosAmend = "@DTOSS-5286-01|@DTOSS-5579-01|@DTOSS-5799-01|@DTOSS-5800-01|@DTOSS-5583-01" +export const runnerBasedEpic3MedTestScenariosAmend = "@DTOSS-5286-01|@DTOSS-5579-01|@DTOSS-5799-01|@DTOSS-5800-01|@DTOSS-5583-01|@DTOSS-9337-01" diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/ADD1_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/ADD1_CAAS_BREAST_SCREENING_COHORT.json index 0e233ec875..628c23c853 100644 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/ADD1_CAAS_BREAST_SCREENING_COHORT.json +++ b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/ADD1_CAAS_BREAST_SCREENING_COHORT.json @@ -8,7 +8,7 @@ "meta": { "testJiraId": "@DTOSS-9337-01", "requirementJiraId": "DTOSS-9337", - "additionalTags": "@smoke @e2e @epic4c- Add participant record to test superseded_by_nhs_number" + "additionalTags": "@epic3-med @e2e @epic4c- Add participant record to test superseded_by_nhs_number" } } ], diff --git a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/AMENDED1_CAAS_BREAST_SCREENING_COHORT.json b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/AMENDED1_CAAS_BREAST_SCREENING_COHORT.json index 4eae8f3138..79ead54c33 100644 --- a/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/AMENDED1_CAAS_BREAST_SCREENING_COHORT.json +++ b/tests/playwright-tests/src/tests/e2e/testFiles/@DTOSS-9337-01/AMENDED1_CAAS_BREAST_SCREENING_COHORT.json @@ -12,7 +12,7 @@ "meta": { "testJiraId": "@DTOSS-9337-01", "requirementJiraId": "DTOSS-9337", - "additionalTags": "@smoke @e2e @epic4c- validate primary care provider, reason for removal and superseded number" + "additionalTags": "@epic3-med @e2e @epic4c- validate primary care provider, reason for removal and superseded number" } }, { @@ -25,7 +25,7 @@ "meta": { "testJiraId": "@DTOSS-9337-01", "requirementJiraId": "DTOSS-9337", - "additionalTags": "@smoke @e2e @epic4c- validate exception for Superseded_number transformation" + "additionalTags": "@epic3-med @e2e @epic4c- validate exception for Superseded_number transformation" } } ],