mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-07 07:54:19 -07:00
Fix all failing cypress tests (#774)
* Fix all failing cypress tests - update test name to be more appropriate - update download packet tests to CDN - update data-cy tag on About heading * Update snapshot
This commit is contained in:
parent
e47cffc3f9
commit
819113ceb7
11 changed files with 52 additions and 41 deletions
|
@ -284,7 +284,9 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
class="grid-container-desktop-lg"
|
||||
data-testid="gridContainer"
|
||||
>
|
||||
<h1>
|
||||
<h1
|
||||
data-cy="about-page-heading"
|
||||
>
|
||||
About us
|
||||
</h1>
|
||||
<div
|
||||
|
@ -317,9 +319,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
class="grid-row"
|
||||
data-testid="grid"
|
||||
>
|
||||
<h2
|
||||
data-cy="about-screen-tool-heading"
|
||||
>
|
||||
<h2>
|
||||
The screening tool
|
||||
</h2>
|
||||
<p>
|
||||
|
@ -363,9 +363,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
class="grid-row"
|
||||
data-testid="grid"
|
||||
>
|
||||
<h2
|
||||
data-cy="about-screen-tool-heading"
|
||||
>
|
||||
<h2>
|
||||
The Justice40 Initiative
|
||||
</h2>
|
||||
<p>
|
||||
|
|
|
@ -41,7 +41,7 @@ const IndexPage = ({location}: IndexPageProps) => {
|
|||
</J40MainGridContainer>
|
||||
|
||||
<J40MainGridContainer>
|
||||
<h1>{intl.formatMessage(ABOUT_COPY.PAGE.HEADING)}</h1>
|
||||
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(ABOUT_COPY.PAGE.HEADING)}</h1>
|
||||
<AboutCardsContainer>
|
||||
<AboutCard
|
||||
size={'large'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue