diff --git a/cypress/integration/submit_spec.js b/cypress/integration/submit_spec.js index 4bd8e0b0..0bda3553 100644 --- a/cypress/integration/submit_spec.js +++ b/cypress/integration/submit_spec.js @@ -37,9 +37,9 @@ describe('e2e test', () => { cy.get('#field-input--mobile').type('sdf').clear().click(); cy.get('#field-error--mobile>span').should('contain','Please fill in your mobile number'); cy.get('#field-input--mobile').type('sdf'); - cy.get('#field-error--mobile>span').should('contain', 'Please enter a valid mobile phone number - it must be the same number that you used to make your donation.'); + cy.get('#field-error--mobile>span').should('contain', 'Please enter a valid mobile phone number - it must be the same number associated with your donation.'); cy.get('#field-input--mobile').clear().type(faker.phone.phoneNumber('02########')); - cy.get('#field-error--mobile>span').should('contain', 'Please enter a valid mobile phone number - it must be the same number that you used to make your donation.'); + cy.get('#field-error--mobile>span').should('contain', 'Please enter a valid mobile phone number - it must be the same number associated with your donation.'); cy.get('#field-input--mobile').clear().type(faker.phone.phoneNumber('07#########')); cy.get('#field-error--mobile>span').should('not.exist') }); diff --git a/src/pages/GiftAid/SubmitForm/SubmitFormFields.js b/src/pages/GiftAid/SubmitForm/SubmitFormFields.js index 6c635a82..534bd36a 100644 --- a/src/pages/GiftAid/SubmitForm/SubmitFormFields.js +++ b/src/pages/GiftAid/SubmitForm/SubmitFormFields.js @@ -33,9 +33,9 @@ export const submitFormFields = { label: 'Mobile number', required: true, pattern: '^07[0-9]{9}$', - helpText: 'Enter the one you used for your text donation or called to donate on', + helpText: 'Enter the one associated with your donation', emptyFieldErrorText: 'Please fill in your mobile number', - invalidErrorText: 'Please enter a valid mobile phone number - it must be the same number that you used to make your donation.' + invalidErrorText: 'Please enter a valid mobile phone number - it must be the same number associated with your donation.' }, firstName: { id: 'firstname',