diff --git a/cypress/e2e/donor/dashboard.cy.js b/cypress/e2e/donor/dashboard.cy.js index 9cf1746bb..0cc27f000 100644 --- a/cypress/e2e/donor/dashboard.cy.js +++ b/cypress/e2e/donor/dashboard.cy.js @@ -69,7 +69,7 @@ describe('Dashboard', () => { cy.contains('Property and affairs'); cy.contains('Sam Smith'); - cy.contains('strong', 'Withdrawn'); + cy.contains('strong', 'Revoked'); cy.contains('.app-dashboard-card a').should('not.exist'); cy.get('.app-dashboard-row a').should('have.length', 1); cy.contains('a', 'View LPA'); diff --git a/cypress/e2e/donor/withdraw-lpa.cy.js b/cypress/e2e/donor/withdraw-lpa.cy.js index bc727b480..9c8cd5da1 100644 --- a/cypress/e2e/donor/withdraw-lpa.cy.js +++ b/cypress/e2e/donor/withdraw-lpa.cy.js @@ -6,12 +6,12 @@ describe('Withdraw LPA', () => { cy.contains('a', 'Withdraw LPA').click(); cy.checkA11yApp(); - cy.contains('button', 'Withdraw this LPA').click(); + cy.contains('button', 'Revoke this LPA').click(); cy.checkA11yApp(); - cy.contains('You have withdrawn'); + cy.contains('You have revoked'); cy.contains('a', 'Return to dashboard').click(); - cy.contains('.app-dashboard-card', 'Sam Smith').contains('.app-tag', 'Withdrawn'); + cy.contains('.app-dashboard-card', 'Sam Smith').contains('.app-tag', 'Revoked'); }); }); diff --git a/lang/en.json b/lang/en.json index 5fe628f00..97a7332dd 100644 --- a/lang/en.json +++ b/lang/en.json @@ -841,7 +841,7 @@ "withdrawingThisLpaIsPermanent": "Revoking this LPA is permanent and cannot be undone.", "lpaWithdrawn": "LPA revoked", "youHaveWithdrawnLpaNumber": "You have revoked LPA number {{.UID}}.", - "opgWillNowContactAnyoneWhoHasAlreadyBeenContacted": "
The Office of the Public Guardian (OPG) will not register it and it cannot be used as a legal document.
OPG will contact anyone who has already been contacted in relation to your LPA and notify them of your decision to revoke.
", + "opgWillNowContactAnyoneWhoHasAlreadyBeenContacted": "The Office of the Public Guardian (OPG) will not register it and it cannot be used as a legal document.
OPG will contact anyone who has already been contacted in relation to your LPA and notify them of your decision to revoke.
", "withdrawn": "Revoked", "dateLpaSigned": "Date LPA signed", "whatIsYourPreviousReferenceNumber": "What is your previous reference number?", diff --git a/web/template/lpa_withdrawn.gohtml b/web/template/lpa_withdrawn.gohtml index 73a76d5af..4a7074a32 100644 --- a/web/template/lpa_withdrawn.gohtml +++ b/web/template/lpa_withdrawn.gohtml @@ -7,7 +7,7 @@{{ tr .App "opgWillNowContactAnyoneWhoHasAlreadyBeenContacted" }}
+ {{ trHtml .App "opgWillNowContactAnyoneWhoHasAlreadyBeenContacted" }} {{ tr .App "returnToDashboard" }}