Nightly cypress failure mapspec (#580)

* fixes failing tests

* adds snapshot test
This commit is contained in:
Vim 2021-09-01 11:26:49 -07:00 committed by GitHub
commit 62ab7f58df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 251 additions and 159 deletions

View file

@ -28,7 +28,7 @@ const AboutCard = (props: React.PropsWithChildren<AboutCardProps>) => {
<Grid tablet={{col: 9}}>
<Grid row>
<h3 className={'j40-section-header'}>{props.header}</h3>
<h3 className={'j40-section-header'} data-cy={'about-screen-tool-heading'}>{props.header} </h3>
<div className={'j40-section-body'}>{props.children}</div>
</Grid>
</Grid>
@ -51,7 +51,7 @@ const AboutCard = (props: React.PropsWithChildren<AboutCardProps>) => {
<Grid tablet={{col: 9}}>
<Grid row>
<h3 className={'j40-section-header'}>{props.header}</h3>
<h3 className={'j40-section-header'} data-cy={'about-justice-40-heading'}>{props.header}</h3>
<div className={'j40-section-body'}>{props.children}</div>
<div className={'j40-section-footer'}>
{props.actionOpenInNewTab ?

View file

@ -30,6 +30,7 @@ exports[`rendering of the AboutCard checks if component renders 1`] = `
>
<h3
class="j40-section-header"
data-cy="about-justice-40-heading"
>
Test Header
</h3>