From 94589d49924ed2137757475382cae0168bc86fb2 Mon Sep 17 00:00:00 2001 From: cairnsj <51908793+cairnsj@users.noreply.github.com> Date: Mon, 18 Sep 2023 11:19:49 +0100 Subject: [PATCH 1/4] Update all the regression tests for the latest pre-prod content --- .../tests/career-stages/experienced-practitioners.spec.ts | 2 +- .../tests/career-stages/leaders.spec.ts | 2 +- .../tests/career-stages/managers.spec.ts | 2 +- .../tests/career-stages/practitioners.spec.ts | 2 +- .../tests/career-stages/senior-managers.spec.ts | 2 +- .../tests/explore-roles/external-links.spec.ts | 6 ------ .../content-regression-tests/tests/homepage.spec.ts | 2 +- 7 files changed, 6 insertions(+), 12 deletions(-) diff --git a/browser-tests/content-regression-tests/tests/career-stages/experienced-practitioners.spec.ts b/browser-tests/content-regression-tests/tests/career-stages/experienced-practitioners.spec.ts index e58e8606..3ade971b 100644 --- a/browser-tests/content-regression-tests/tests/career-stages/experienced-practitioners.spec.ts +++ b/browser-tests/content-regression-tests/tests/career-stages/experienced-practitioners.spec.ts @@ -26,7 +26,7 @@ test.describe('Experienced Practitioners', () => { ['Pathway 1: practice supervisors', '/pathway-1', 'Pathway 1: practice supervisors'], ['Pathway 2: middle managers', '/pathway-2', 'Pathway 2: middle managers'], ['View all programmes', '/development-programmes', 'Child and family social work development programmes'], - ['Explore all roles', '/explore-roles', 'Roles in child and family social work'], + ['Explore all roles', '/explore-roles', 'Explore roles in child and family social work'], ] for (const link of links) { diff --git a/browser-tests/content-regression-tests/tests/career-stages/leaders.spec.ts b/browser-tests/content-regression-tests/tests/career-stages/leaders.spec.ts index ee1f76e2..f127a875 100644 --- a/browser-tests/content-regression-tests/tests/career-stages/leaders.spec.ts +++ b/browser-tests/content-regression-tests/tests/career-stages/leaders.spec.ts @@ -26,7 +26,7 @@ test.describe('Leaders', () => { ['Upon: new directors programme', '/new-directors-programme', 'Upon: new directors programme'], ['Pathway 4: practice leaders', '/pathway-4', 'Pathway 4: practice leaders'], ['View all programmes', '/development-programmes', 'Child and family social work development programmes'], - ['Explore all roles', '/explore-roles', 'Roles in child and family social work'], + ['Explore all roles', '/explore-roles', 'Explore roles in child and family social work'], ] for (const link of links) { diff --git a/browser-tests/content-regression-tests/tests/career-stages/managers.spec.ts b/browser-tests/content-regression-tests/tests/career-stages/managers.spec.ts index 58972a94..9f0f06aa 100644 --- a/browser-tests/content-regression-tests/tests/career-stages/managers.spec.ts +++ b/browser-tests/content-regression-tests/tests/career-stages/managers.spec.ts @@ -25,7 +25,7 @@ test.describe('Managers', () => { ['Pathway 2: middle managers', '/pathway-2', 'Pathway 2: middle managers'], ['Pathway 3: heads of service', '/pathway-3', 'Pathway 3: heads of service'], ['View all programmes', '/development-programmes', 'Child and family social work development programmes'], - ['Explore all roles', '/explore-roles', 'Roles in child and family social work'], + ['Explore all roles', '/explore-roles', 'Explore roles in child and family social work'], ] for (const link of links) { diff --git a/browser-tests/content-regression-tests/tests/career-stages/practitioners.spec.ts b/browser-tests/content-regression-tests/tests/career-stages/practitioners.spec.ts index b5e5ac3e..54257049 100644 --- a/browser-tests/content-regression-tests/tests/career-stages/practitioners.spec.ts +++ b/browser-tests/content-regression-tests/tests/career-stages/practitioners.spec.ts @@ -25,7 +25,7 @@ test.describe('Practitioners', () => { ['Assessed and supported year in employment (ASYE)', '/asye', 'Assessed and supported year in employment \\(ASYE\\)'], ['View all programmes', '/development-programmes', 'Child and family social work development programmes'], ['Develop your social work practice', '/develop-social-work-practice', 'Develop your social work practice'], - ['Explore all roles', '/explore-roles', 'Roles in child and family social work'], + ['Explore all roles', '/explore-roles', 'Explore roles in child and family social work'], ] for (const link of links) { diff --git a/browser-tests/content-regression-tests/tests/career-stages/senior-managers.spec.ts b/browser-tests/content-regression-tests/tests/career-stages/senior-managers.spec.ts index 9ed2b10d..844d209d 100644 --- a/browser-tests/content-regression-tests/tests/career-stages/senior-managers.spec.ts +++ b/browser-tests/content-regression-tests/tests/career-stages/senior-managers.spec.ts @@ -25,7 +25,7 @@ test.describe('Senior managers', () => { ['Pathway 3: heads of service', '/pathway-3', 'Pathway 3: heads of service'], ['Pathway 4: practice leaders', '/pathway-4', 'Pathway 4: practice leaders'], ['View all programmes', '/development-programmes', 'Child and family social work development programmes'], - ['Explore all roles', '/explore-roles', 'Roles in child and family social work'], + ['Explore all roles', '/explore-roles', 'Explore roles in child and family social work'], ] for (const link of links) { diff --git a/browser-tests/content-regression-tests/tests/explore-roles/external-links.spec.ts b/browser-tests/content-regression-tests/tests/explore-roles/external-links.spec.ts index a21df534..e0fd4343 100644 --- a/browser-tests/content-regression-tests/tests/explore-roles/external-links.spec.ts +++ b/browser-tests/content-regression-tests/tests/explore-roles/external-links.spec.ts @@ -62,7 +62,6 @@ test.describe('External links @external', () => { test.describe('Practice supervisor', () => { const links = [ - ['enhanced background checks', 'https://www.gov.uk/criminal-record-checks-apply-role'], ['Find a job service', 'https://findajob.dwp.gov.uk/'], ] @@ -153,7 +152,6 @@ test.describe('External links @external', () => { test.describe('Principal social worker', () => { const links = [ - ['enhanced background checks', 'https://www.gov.uk/criminal-record-checks-apply-role'], ['Find a job service', 'https://findajob.dwp.gov.uk/'], ] @@ -172,7 +170,6 @@ test.describe('External links @external', () => { test.describe('Service manager', () => { const links = [ - ['enhanced background checks', 'https://www.gov.uk/criminal-record-checks-apply-role'], ['Find a job service', 'https://findajob.dwp.gov.uk/'], ] @@ -191,7 +188,6 @@ test.describe('External links @external', () => { test.describe('Head of service', () => { const links = [ - ['enhanced background checks', 'https://www.gov.uk/criminal-record-checks-apply-role'], ['Find a job service', 'https://findajob.dwp.gov.uk/'], ] @@ -210,7 +206,6 @@ test.describe('External links @external', () => { test.describe('Assistant director', () => { const links = [ - ['enhanced background checks', 'https://www.gov.uk/criminal-record-checks-apply-role'], ['Find a job service', 'https://findajob.dwp.gov.uk/'], ] @@ -229,7 +224,6 @@ test.describe('External links @external', () => { test.describe('Director of children\'s services', () => { const links = [ - ['enhanced background checks', 'https://www.gov.uk/criminal-record-checks-apply-role'], ['Find a job service', 'https://findajob.dwp.gov.uk/'], ] diff --git a/browser-tests/content-regression-tests/tests/homepage.spec.ts b/browser-tests/content-regression-tests/tests/homepage.spec.ts index 7d01b5d9..199afdf5 100644 --- a/browser-tests/content-regression-tests/tests/homepage.spec.ts +++ b/browser-tests/content-regression-tests/tests/homepage.spec.ts @@ -26,7 +26,7 @@ test.describe('Homepage', () => { test.describe('Useful information', () => { const links = [ ['DfE funded programmes', '/development-programmes', 'Child and family social work development programmes'], - ['Explore roles', '/explore-roles', 'Roles in child and family social work'], + ['Explore roles', '/explore-roles', 'Explore Explore roles in child and family social work'], ] for (const link of links) { From 5dc438cc0968b558a483f5d6ace46fa8bd1f37ee Mon Sep 17 00:00:00 2001 From: cairnsj <51908793+cairnsj@users.noreply.github.com> Date: Mon, 18 Sep 2023 14:36:14 +0100 Subject: [PATCH 2/4] Update pathway-2-middle-managers.spec.ts --- .../tests/career-stages/pathway-2-middle-managers.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser-tests/content-regression-tests/tests/career-stages/pathway-2-middle-managers.spec.ts b/browser-tests/content-regression-tests/tests/career-stages/pathway-2-middle-managers.spec.ts index 1acd1790..5e0e3aa3 100644 --- a/browser-tests/content-regression-tests/tests/career-stages/pathway-2-middle-managers.spec.ts +++ b/browser-tests/content-regression-tests/tests/career-stages/pathway-2-middle-managers.spec.ts @@ -46,7 +46,7 @@ test.describe('Pathway 2: middle managers', () => { const links = [ ['Frontline', 'https://thefrontline.org.uk/develop-your-career/pathways-programme/'], ['Frontline\'s network of leaders', 'https://thefrontline.org.uk/develop-your-career/frontline-fellowship/'], - ['Find out more about Pathway 2 including how to apply', 'https://thefrontline.org.uk/develop-your-career/pathways-programme/'], + //['Find out more about Pathway 2 including how to apply', 'https://thefrontline.org.uk/develop-your-career/pathways-programme/'], // Currently closed ['Social work post-qualifying standards', 'https://www.gov.uk/government/publications/knowledge-and-skills-statements-for-child-and-family-social-work'], ] From 9687b27c6c9b20a99fc7fd5d0923f7141faac0a3 Mon Sep 17 00:00:00 2001 From: cairnsj <51908793+cairnsj@users.noreply.github.com> Date: Mon, 18 Sep 2023 14:42:57 +0100 Subject: [PATCH 3/4] Update child-protection-and-family-safeguarding.spec.ts Skip these for the moment as no content has been created yet --- .../child-protection-and-family-safeguarding.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser-tests/content-regression-tests/tests/explore-area-of-practice/child-protection-and-family-safeguarding.spec.ts b/browser-tests/content-regression-tests/tests/explore-area-of-practice/child-protection-and-family-safeguarding.spec.ts index cdb7485e..b760f5f7 100644 --- a/browser-tests/content-regression-tests/tests/explore-area-of-practice/child-protection-and-family-safeguarding.spec.ts +++ b/browser-tests/content-regression-tests/tests/explore-area-of-practice/child-protection-and-family-safeguarding.spec.ts @@ -1,6 +1,6 @@ import { test, expect } from '@playwright/test' -test.describe('Child Protection & Family Safeguarding', () => { +test.describe.skip('Child Protection & Family Safeguarding', () => { test('User journey via Explore menu @journey', async ({ page }) => { await page.goto('/') await page.getByLabel('Menu').getByRole('link', { name: 'Explore roles', exact: true }).click() From 46c5c3e83b4df0c307836abdeee11d472801a483 Mon Sep 17 00:00:00 2001 From: cairnsj <51908793+cairnsj@users.noreply.github.com> Date: Mon, 18 Sep 2023 15:01:39 +0100 Subject: [PATCH 4/4] Update homepage.spec.ts --- browser-tests/content-regression-tests/tests/homepage.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser-tests/content-regression-tests/tests/homepage.spec.ts b/browser-tests/content-regression-tests/tests/homepage.spec.ts index 199afdf5..4ba0b2f4 100644 --- a/browser-tests/content-regression-tests/tests/homepage.spec.ts +++ b/browser-tests/content-regression-tests/tests/homepage.spec.ts @@ -26,7 +26,7 @@ test.describe('Homepage', () => { test.describe('Useful information', () => { const links = [ ['DfE funded programmes', '/development-programmes', 'Child and family social work development programmes'], - ['Explore roles', '/explore-roles', 'Explore Explore roles in child and family social work'], + ['Explore roles', '/explore-roles', 'Explore roles in child and family social work'], ] for (const link of links) {