Skip to content

Commit

Permalink
fix(EMS-2341): quote page - update application link (#1429)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttbarnes authored Nov 30, 2023
1 parent 7fc188c commit 7d3e648
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions e2e-tests/content-strings/pages/quote.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { LINKS } from '../links';
import { INSURANCE_ROUTES } from '../../constants/routes/insurance';

const BUYER_BODY = {
PAGE_TITLE: 'Is your buyer a government or public sector body?',
Expand Down Expand Up @@ -100,7 +99,7 @@ const YOUR_QUOTE = {
CAN_NOW_SUBMIT: 'You can now submit a',
FULL_APPLICATION: {
TEXT: 'full application',
HREF: INSURANCE_ROUTES.START,
HREF: LINKS.EXTERNAL.FULL_APPLICATION,
},
TIMEFRAME: 'It takes about 2 weeks to get a decision from UKEF.',
CAN_GET_HELP: 'You can get help with the application process from export finance managers or brokers.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const {
BUYER_COUNTRY_CHANGE,
YOUR_QUOTE,
},
INSURANCE: { START },
} = ROUTES;

const {
Expand Down Expand Up @@ -233,7 +232,7 @@ context('Get a quote/your quote page (single policy) - as an exporter, I want to

cy.checkLink(
yourQuotePage.whatHappensNext.intro.fullApplicationLink(),
START,
LINKS.EXTERNAL.FULL_APPLICATION,
CONTENT_STRINGS.WHAT_HAPPENS_NEXT.INTRO.FULL_APPLICATION.TEXT,
);
});
Expand Down
3 changes: 1 addition & 2 deletions src/ui/server/content-strings/pages/quote.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { LINKS } from '../links';
import { INSURANCE_ROUTES } from '../../constants/routes/insurance';

const BUYER_BODY = {
PAGE_TITLE: 'Is your buyer a government or public sector body?',
Expand Down Expand Up @@ -72,7 +71,7 @@ const YOUR_QUOTE = {
CAN_NOW_SUBMIT: 'You can now submit a',
FULL_APPLICATION: {
TEXT: 'full application',
HREF: INSURANCE_ROUTES.START,
HREF: LINKS.EXTERNAL.FULL_APPLICATION,
},
TIMEFRAME: 'It takes about 2 weeks to get a decision from UKEF.',
CAN_GET_HELP: 'You can get help with the application process from export finance managers or brokers.',
Expand Down

0 comments on commit 7d3e648

Please sign in to comment.