mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-07 07:54:19 -07:00
Nightly cypress failure mapspec (#580)
* fixes failing tests * adds snapshot test
This commit is contained in:
parent
89c23faf7a
commit
62ab7f58df
7 changed files with 251 additions and 159 deletions
|
@ -61,6 +61,16 @@ const IndexPage = ({location}: IndexPageProps) => {
|
|||
defaultMessage: 'Iterative:',
|
||||
description: 'Italic label for 3rd paragraph of section 3 on index page',
|
||||
},
|
||||
aboutScreenToolHeading: {
|
||||
id: 'index.heading.screentool',
|
||||
defaultMessage: 'About the screening tool',
|
||||
description: 'heading for about screening tool',
|
||||
},
|
||||
aboutJustice40Heading: {
|
||||
id: 'index.heading.justice40',
|
||||
defaultMessage: 'About the Justice40 Initiative',
|
||||
description: 'heading for about justice 40',
|
||||
},
|
||||
});
|
||||
|
||||
return (
|
||||
|
@ -75,7 +85,7 @@ const IndexPage = ({location}: IndexPageProps) => {
|
|||
<AboutCard
|
||||
size={'large'}
|
||||
imgSrc={aboutUSMapImg}
|
||||
header={'About the screening tool'}>
|
||||
header={intl.formatMessage(messages.aboutScreenToolHeading)}>
|
||||
|
||||
<FormattedMessage
|
||||
id={'index.aboutContent.p1'}
|
||||
|
@ -98,7 +108,7 @@ const IndexPage = ({location}: IndexPageProps) => {
|
|||
<AboutCard
|
||||
size={'large'}
|
||||
imgSrc={aboutJ40Img}
|
||||
header={'About the Justice40 Initiative'}>
|
||||
header={intl.formatMessage(messages.aboutJustice40Heading)}>
|
||||
|
||||
<FormattedMessage
|
||||
id="index.aboutContent.p2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue