Skip to content

Commit

Permalink
CDPS-158 - update to title (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgrant-moj authored Jun 12, 2023
1 parent 53c471a commit 466145a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions integration_tests/e2e/workAndSkillsPage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const visitWorkAndSkillsPage = () => {
cy.signIn({ redirectPath: '/prisoner/G6123VU/work-and-skills' })
}

context('Work and Skills Page', () => {
context('Work and skills page', () => {
context('Permissions', () => {
const prisonerNumber = 'G6123VU'
const visitPage = prisonerDataOverrides => {
Expand Down Expand Up @@ -51,8 +51,8 @@ context('Work and Skills Page', () => {
visitWorkAndSkillsPage()
})

it('Work and Skills page is displayed', () => {
cy.request('/prisoner/G6123VU/work-and-skills').its('body').should('contain', 'Work and Skills')
it('Work and skills page is displayed', () => {
cy.request('/prisoner/G6123VU/work-and-skills').its('body').should('contain', 'Work and skills')
})

it('Displays the Work and skills tab as active', () => {
Expand Down Expand Up @@ -291,8 +291,8 @@ context('Work and Skills Page', () => {
})

context('Goals card', () => {
it('Work and Skills page is displayed', () => {
cy.request('/prisoner/G6123VU/work-and-skills').its('body').should('contain', 'Work and Skills')
it('Work and skills page is displayed', () => {
cy.request('/prisoner/G6123VU/work-and-skills').its('body').should('contain', 'Work and skills')
})
it('The card is displayed', () => {
const workAndSkillsPage = Page.verifyOnPage(WorkAndSkillsPage)
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/pages/workAndSkillsPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Page, { PageElement } from './page'

export default class WorkAndSkillsPage extends Page {
constructor() {
super('Work and Skills')
super('Work and skills')
}

activeTab = (): PageElement => cy.get('[data-qa=active-tab]')
Expand Down
4 changes: 2 additions & 2 deletions server/services/workAndSkillsPageService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('WorkAndSkillsService', () => {
prisonApiClient.getVisitSummary = jest.fn(async () => visitSummaryMock)
})

describe('Work and Skills', () => {
describe('Work and skills', () => {
it.each(['ABC123', 'DEF321'])('Gets the activities history for the prisoner', async (prisonerNumber: string) => {
const workAndSkillsPageService = workAndSkillsPageServiceConstruct()
await workAndSkillsPageService.get({ prisonerNumber } as Prisoner)
Expand Down Expand Up @@ -201,7 +201,7 @@ describe('WorkAndSkillsService', () => {
prisonApiClient = prisonApiClientMock()
})

describe('Work and Skills', () => {
describe('Work and skills', () => {
it('Prisoner without learner goals', async () => {
const prisonerNumber = '123123'
const workAndSkillsPageService = workAndSkillsPageServiceConstruct()
Expand Down
2 changes: 1 addition & 1 deletion server/views/pages/workAndSkills.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% block body %}
<div class="govuk-grid-row">
<div class="govuk-grid-column-three-quarters">
<h1>Work and Skills</h1>
<h1>Work and skills</h1>
</div>
</div>
<div class="govuk-grid-row">
Expand Down

0 comments on commit 466145a

Please sign in to comment.