mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-06 02:34: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
|
@ -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 ?
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue