{NAVLINKS.map((links, i) => (
-
diff --git a/client/src/components/J40Header.tsx b/client/src/components/J40Header.tsx
index ad53375a..b57b51be 100644
--- a/client/src/components/J40Header.tsx
+++ b/client/src/components/J40Header.tsx
@@ -42,7 +42,7 @@ const J40Header = () => {
key={'cejst'}
activeClassName="usa-current"
className={'j40-header'}
- data-cy={'nav-link-explore'}>
+ data-cy={'nav-link-explore-the-tool'}>
{intl.formatMessage(COMMON_COPY.HEADER.EXPLORE)}
,
],
diff --git a/client/src/components/J40MainGridContainer.tsx b/client/src/components/J40MainGridContainer.tsx
index 29b4fcec..384c5593 100644
--- a/client/src/components/J40MainGridContainer.tsx
+++ b/client/src/components/J40MainGridContainer.tsx
@@ -6,18 +6,20 @@ import {GridContainer} from '@trussworks/react-uswds';
interface IJ40MainGridContainer {
children: ReactNode,
fullWidth?: boolean,
- blueBackground?: boolean,
- className?: string
+ blueBackground?: boolean,
+ className?: string,
+ dataCy?: string,
}
const J40MainGridContainer = ({
children,
fullWidth = false,
blueBackground = false,
- className = ''}: IJ40MainGridContainer) => {
+ className = '',
+ dataCy,
+}: IJ40MainGridContainer) => {
// is it a blue background strip?
className += (blueBackground ? 'j40-main-grid-blue-bk ' : '');
-
return fullWidth ? (
@@ -26,7 +28,8 @@ const J40MainGridContainer = ({
) : (
+ className={className}
+ data-cy={dataCy}>
{children}
);
diff --git a/client/src/components/__snapshots__/J40Footer.spec.tsx.snap b/client/src/components/__snapshots__/J40Footer.spec.tsx.snap
index b9adf1d7..92a9ff42 100644
--- a/client/src/components/__snapshots__/J40Footer.spec.tsx.snap
+++ b/client/src/components/__snapshots__/J40Footer.spec.tsx.snap
@@ -7,6 +7,7 @@ exports[`J40Footer renders correctly 1`] = `
>