Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(EMS-3502-3567-3568): content updates - contact details #2721

Merged
merged 10 commits into from
Jul 12, 2024
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

## [2.10.1](https://github.com/UK-Export-Finance/exip/compare/v2.10.0...v2.10.1) (2024-07-12)


### Bug Fixes

* **EMS-3560:** update az cli to v2 ([#2720](https://github.com/UK-Export-Finance/exip/issues/2720)) ([62fe0ac](https://github.com/UK-Export-Finance/exip/commit/62fe0acda1138c41b27bac5ad5a78e1d83b09a12))
- **EMS-3560:** update az cli to v2 ([#2720](https://github.com/UK-Export-Finance/exip/issues/2720)) ([62fe0ac](https://github.com/UK-Export-Finance/exip/commit/62fe0acda1138c41b27bac5ad5a78e1d83b09a12))

## [2.10.0](https://github.com/UK-Export-Finance/exip/compare/v2.9.1...v2.10.0) (2024-07-12)

Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions e2e-tests/commands/shared-commands/assertions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ Cypress.Commands.add('checkChangeAnswerRendered', checkChangeAnswerRendered);

Cypress.Commands.add('checkCurrencyOption', require('./check-currency-option'));

Cypress.Commands.add('assertCustomerServiceContactDetailsContent', require('./assert-customer-service-contact-details-content'));

Cypress.Commands.add('checkErrorSummaryListHeading', require('./check-error-summary-list-heading'));

Cypress.Commands.add('checkFooterLinks', require('./check-footer-links'));
Expand Down
5 changes: 2 additions & 3 deletions e2e-tests/constants/ukef-contact-details.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const CONTACT_DETAILS = {
TELEPHONE: '+44 (0)207 271 8010',
export const UKEF_CONTACT_DETAILS = {
EMAIL: {
CUSTOMER_SERVICE: 'customer.service@ukexportfinance.gov.uk',
CREDIT_INSURANCE_SUPPORT: 'creditinsurancesupport@ukexportfinance.gov.uk',
UNDERWRITING: 'exipunderwriting@ukexportfinance.gov.uk',
},
};
19 changes: 5 additions & 14 deletions e2e-tests/content-strings/contact.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
import { CONTACT_DETAILS } from '../constants';
import { LINKS } from './links';
import { UKEF_CONTACT_DETAILS } from '../constants';

export const CUSTOMER_SERVICE_CONTACT_DETAILS = {
TELEPHONE: {
PREFIX: 'Telephone: ',
VALUE: CONTACT_DETAILS.TELEPHONE,
},
export const CONTACT_DETAILS = {
EMAIL: {
PREFIX: 'Email: ',
VALUE: CONTACT_DETAILS.EMAIL.CUSTOMER_SERVICE,
},
OPENING_TIMES: 'Opening times: Monday to Friday, 9am to 5pm (excluding public holidays)',
CALL_CHARGES: {
TEXT: 'Call charges',
HREF: LINKS.EXTERNAL.CALL_CHARGES,
PREFIX: 'Email',
TEXT: UKEF_CONTACT_DETAILS.EMAIL.CREDIT_INSURANCE_SUPPORT,
VALUE: `mailto:${UKEF_CONTACT_DETAILS.EMAIL.CREDIT_INSURANCE_SUPPORT}`,
},
};
3 changes: 1 addition & 2 deletions e2e-tests/content-strings/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const LINKS = {
EXPORT_FINANCE_MANAGERS: 'https://www.gov.uk/government/publications/find-an-export-finance-manager',
APPROVED_BROKER_LIST: 'https://www.gov.uk/government/publications/uk-export-finance-insurance-list-of-approved-brokers/export-insurance-approved-brokers',
PROPOSAL_FORM:
'https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/1075267/10489_UKEF_Export_Insurance_Proposal_Form_20220513-fillable.pdf',
'https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/1075267/10489_UKEF_Export_Insurance_Proposal_Form_20220513-fillable.pdf',
Zainzzkk marked this conversation as resolved.
Show resolved Hide resolved
NBI_FORM:
'https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/1041659/export-insurance-non-binding-indication-request-form_20170609.pdf',
FULL_APPLICATION: 'https://www.gov.uk/guidance/apply-for-ukef-export-insurance',
Expand All @@ -30,7 +30,6 @@ export const LINKS = {
ACCESSIBILITY_GUIDLINES: 'https://www.w3.org/TR/WCAG21',
BRIBERY_ACT_2010_GUIDANCE: 'https://www.justice.gov.uk/downloads/legislation/bribery-act-2010-guidance.pdf',
ICO_MAKE_A_COMPLAINT: 'https://ico.org.uk/make-a-complaint',
CALL_CHARGES: 'https://www.gov.uk/call-charges',
COMPANIES_HOUSE: 'https://find-and-update.company-information.service.gov.uk',
},
};
17 changes: 7 additions & 10 deletions e2e-tests/content-strings/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import QUOTE_PAGES from './quote';
import INSURANCE_PAGES from './insurance';
import { ACTIONS } from '../actions';
import { LINKS } from '../links';
import { CONTACT_DETAILS, ROUTES } from '../../constants';
import { CUSTOMER_SERVICE_CONTACT_DETAILS } from '../contact';
import { ROUTES } from '../../constants';
import { CONTACT_DETAILS } from '../contact';

const BUYER_COUNTRY = {
PAGE_TITLE: 'Where is your buyer based?',
Expand All @@ -21,7 +21,8 @@ const CANNOT_APPLY = {
PAGE_TITLE: 'You cannot apply for UKEF credit insurance',
REASON: {
INTRO: 'This is because',
UNSUPPORTED_COMPANY_COUNTRY: "you're not exporting from a business base in the UK, Channel Islands or Isle of Man.We can only provide cover for UK businesses.",
UNSUPPORTED_COMPANY_COUNTRY:
"you're not exporting from a business base in the UK, Channel Islands or Isle of Man.We can only provide cover for UK businesses.",
UNSUPPORTED_BUYER_COUNTRY_1: 'your buyer is based in',
UNSUPPORTED_BUYER_COUNTRY_2: 'which we cannot provide cover for.',
NOT_ENOUGH_UK_GOODS_OR_SERVICES: 'your export contract value is not made up from at least 20% UK goods or services.',
Expand Down Expand Up @@ -188,17 +189,13 @@ const CONTACT_US_PAGE = {
PAGE_TITLE: 'Contact us',
WHO_TO_CONTACT: 'Who you need to contact depends on your type of query.',
GENERAL_ENQUIRIES: {
HEADING: 'General enquiries or questions about UK Export Finance products',
...CUSTOMER_SERVICE_CONTACT_DETAILS,
HEADING: "Questions about an application you're working on or technical issues with the service",
},
APPLICATION_ENQUIRES: {
HEADING: "If you have a question about an application you've submitted",
EMAIL: {
PREFIX: 'Email: ',
VALUE: CONTACT_DETAILS.EMAIL.UNDERWRITING,
},
QUOTE: 'Quote your application reference number',
},
CONTACT_DETAILS,
QUOTE_REFERENCE_NUMBER: 'Quote your application reference number',
};

const PROBLEM_WITH_SERVICE_PAGE = {
Expand Down
18 changes: 12 additions & 6 deletions e2e-tests/content-strings/pages/insurance/account/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { INSURANCE_ROUTES } from '../../../../constants/routes/insurance';
import { CUSTOMER_SERVICE_CONTACT_DETAILS } from '../../../contact';
import { CONTACT_DETAILS } from '../../../contact';
import { LINKS } from '../../../links';

const ACCOUNT = {
Expand Down Expand Up @@ -141,10 +141,13 @@ const ACCOUNT = {
},
MANAGE: {
PAGE_TITLE: 'Your account',
INTRO: 'To update information relating to your account (for example your email address), please contact our customer service helpline.',
CUSTOMER_SERVICE: {
HEADING: 'UK Export Finance customer service helpline',
...CUSTOMER_SERVICE_CONTACT_DETAILS,
INTRO: 'To update information relating to your account (for example your email address),',
CONTACT_DETAILS: {
...CONTACT_DETAILS,
EMAIL: {
...CONTACT_DETAILS.EMAIL,
PREFIX: 'email',
},
},
},
SIGNED_OUT: {
Expand All @@ -159,7 +162,10 @@ const ACCOUNT = {
PAGE_TITLE: 'Check your email',
WE_SENT_LINK_TO: "We've sent you a link to",
CHECK_YOUR_EMAIL: 'Check your email and follow the link to confirm your email address and reactivate your account.',
HAVING_PROBLEMS: 'Having problems?',
CONTACT_DETAILS: {
...CONTACT_DETAILS,
OUTRO: "if you're still having problems.",
},
},
VERIFY_EMAIL_EXPIRED_LINK: {
PAGE_TITLE: 'Your link has expired',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CONTACT_DETAILS, ROUTES } from '../../../../constants';
import { UKEF_CONTACT_DETAILS, ROUTES } from '../../../../constants';
import { LINKS } from '../../../links';

const APPLICATION_SUBMITTED = {
Expand All @@ -16,8 +16,8 @@ const APPLICATION_SUBMITTED = {
HAVE_ANY_QUESTIONS: {
INTRO: 'If you have any questions about your application, email',
LINK: {
TEXT: CONTACT_DETAILS.EMAIL.UNDERWRITING,
HREF: `mailto:${CONTACT_DETAILS.EMAIL.UNDERWRITING}`,
TEXT: UKEF_CONTACT_DETAILS.EMAIL.UNDERWRITING,
HREF: `mailto:${UKEF_CONTACT_DETAILS.EMAIL.UNDERWRITING}`,
},
},
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CONTACT_DETAILS, GBP_CURRENCY_CODE, TOTAL_CONTRACT_VALUE } from '../../../../constants';
import { UKEF_CONTACT_DETAILS, GBP_CURRENCY_CODE, TOTAL_CONTRACT_VALUE } from '../../../../constants';
import formatCurrency from '../../../../helpers/format-currency';
import { ACTIONS } from '../../../actions';
import { LINKS } from '../../../links';
Expand Down Expand Up @@ -43,7 +43,7 @@ export const LONG_TERM_COVER = {
HREF: ACTIONS.CONTACT_EFM.LINK.HREF,
},
},
CONTACT_UKEF_TEAM: `or our team at ${CONTACT_DETAILS.EMAIL.UNDERWRITING} if you have any questions.`,
CONTACT_UKEF_TEAM: `or our team at ${UKEF_CONTACT_DETAILS.EMAIL.UNDERWRITING} if you have any questions.`,
},
};

Expand Down Expand Up @@ -148,6 +148,6 @@ export const CONTRACT_TOO_SHORT = {
TEXT: 'your nearest export finance manager',
HREF: LINKS.EXTERNAL.EXPORT_FINANCE_MANAGERS,
},
TEXT: `to learn more about your options. If you have any questions, get in touch with our team at ${CONTACT_DETAILS.EMAIL.UNDERWRITING}.`,
TEXT: `to learn more about your options. If you have any questions, get in touch with our team at ${UKEF_CONTACT_DETAILS.EMAIL.UNDERWRITING}.`,
},
};
4 changes: 2 additions & 2 deletions e2e-tests/content-strings/pages/insurance/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ROUTES, CONTACT_DETAILS } from '../../../constants';
import { ROUTES, UKEF_CONTACT_DETAILS } from '../../../constants';
import { BUTTONS } from '../../buttons';
import POLICY from './policy';
import * as ELIGIBILITY_PAGES from './eligibility';
Expand Down Expand Up @@ -49,7 +49,7 @@ const NO_ACCESS_APPLICATION_SUBMITTED_PAGE = {
CONTACT_FURTHER_INFORMATION: 'We will contact you if any further information is required, and when a decision has been made.',
WITHDRAW:
'If you would like to withdraw your application or have any other queries, please contact our underwriting team quoting your application reference number:',
CONTACT: CONTACT_DETAILS.EMAIL.UNDERWRITING,
CONTACT: UKEF_CONTACT_DETAILS.EMAIL.UNDERWRITING,
};

const INSURANCE = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
import partials from '../../../../../../partials';
import manageAccountPage from '../../../../../../pages/insurance/account/manage';
import { field, intro } from '../../../../../../pages/shared';
import {
emailPrefix,
emailLink,
field,
intro,
} from '../../../../../../pages/shared';
import { PAGES } from '../../../../../../content-strings';
import { INSURANCE_FIELD_IDS } from '../../../../../../constants/field-ids/insurance';
import { INSURANCE_ROUTES as ROUTES } from '../../../../../../constants/routes/insurance';

const CONTENT_STRINGS = PAGES.INSURANCE.ACCOUNT.MANAGE;

const {
PAGE_TITLE,
INTRO,
CONTACT_DETAILS: { EMAIL },
} = CONTENT_STRINGS;

const {
ACCOUNT: {
CREATE: { YOUR_DETAILS },
Expand All @@ -20,8 +30,6 @@ const {
ACCOUNT: { ACCESS_CODE },
} = INSURANCE_FIELD_IDS;

const { PAGE_TITLE, INTRO, CUSTOMER_SERVICE } = CONTENT_STRINGS;

context(
'Insurance - Account - Manage - As an Exporter, I want the service to have a page that shows how I can manage my account, So that I can readily access information on how to manage my account',
() => {
Expand Down Expand Up @@ -87,14 +95,16 @@ context(
});
});

it('renders an introduction', () => {
it('renders `intro` copy', () => {
cy.checkText(intro(), INTRO);
});

it('renders a `customer service contact details` section', () => {
cy.checkText(manageAccountPage.customerServiceHeading(), CUSTOMER_SERVICE.HEADING);
it('renders `email prefix` copy', () => {
cy.checkText(emailPrefix(), EMAIL.PREFIX);
});

cy.assertCustomerServiceContactDetailsContent();
it('renders `email us` copy', () => {
cy.checkLink(emailLink(), EMAIL.VALUE, EMAIL.TEXT);
});
});
});
Expand Down
Loading
Loading