Skip to content

Commit

Permalink
update check answers page title & tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rgforsyth committed Jan 10, 2024
1 parent de62695 commit a6dac87
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions integration_tests/integration/serviceProviderReferrals.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2467,7 +2467,7 @@ describe('Service provider referrals dashboard', () => {
'equal',
`/service-provider/referrals/${sentReferral.id}/supplier-assessment/post-assessment-feedback/check-your-answers`
)
cy.contains('Confirm appointment feedback')
cy.contains('Check your answers')
cy.contains('Session details')
cy.contains('Session attendance')
cy.contains('Session feedback')
Expand Down Expand Up @@ -2711,7 +2711,7 @@ describe('Service provider referrals dashboard', () => {
'equal',
`/service-provider/referrals/${sentReferral.id}/supplier-assessment/post-assessment-feedback/check-your-answers`
)
cy.contains('Confirm appointment feedback')
cy.contains('Check your answers')
cy.contains('Session details')
cy.contains('Session attendance')
cy.contains('Session feedback')
Expand Down
2 changes: 1 addition & 1 deletion server/routes/appointments/appointmentsController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ describe('Adding supplier assessment feedback', () => {
.expect(res => {
expect(res.text).toContain('appointment feedback')
expect(res.text).toContain('In-person meeting (probation office)')
expect(res.text).toContain('Confirm appointment feedback')
expect(res.text).toContain('Check your answers')
expect(res.text).toContain('What did you do in the appointment?')
expect(res.text).toContain('stub session summary')
expect(res.text).toContain('How did Alex River respond to the appointment?')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class InitialAssessmentFeedbackCheckAnswersPresenter extends Chec
readonly appointmentSummary: AppointmentSummary,
private readonly draftId: string | undefined = undefined
) {
super(appointment, appointmentSummary, 'Confirm appointment feedback')
super(appointment, appointmentSummary, 'Check your answers')
this.feedbackAnswersPresenter = new FeedbackAnswersPresenter(appointment, serviceUser, true)
}

Expand Down

0 comments on commit a6dac87

Please sign in to comment.