Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
LanesGood committed Jul 26, 2024
1 parent 0b117bb commit c0ebe4e
Show file tree
Hide file tree
Showing 9 changed files with 109 additions and 87 deletions.
4 changes: 2 additions & 2 deletions src/components/__tests__/__snapshots__/chip.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ exports[`Chip renders with action 1`] = `
role="img"
>
<svg
height="12px"
height="16"
viewBox="0 0 16 16"
width="12px"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<polygon
Expand Down
18 changes: 9 additions & 9 deletions src/components/__tests__/__snapshots__/data-section.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports[`Data Section matches snapshot 1`] = `
id="data"
/>
<div
className="section-header___StyledDiv-sc-1i4pe2i-0 SXaMi"
className="section-header___StyledDiv-sc-1i4pe2i-0 cVNCrb"
data-cy="data-section-header"
>
<a
Expand All @@ -23,7 +23,7 @@ exports[`Data Section matches snapshot 1`] = `
</a>
</div>
<div
className="section__SectionContent-sc-1oozlr5-2 ivTKjv"
className="section__SectionContent-sc-1oozlr5-2 fHLdbu"
mode="darkTheme"
>
<p>
Expand Down Expand Up @@ -145,10 +145,10 @@ exports[`Data Section matches snapshot 1`] = `
</div>
</div>
<div
className="data-section___StyledDiv2-sc-11szotn-1 cOIOPW"
className="data-section___StyledDiv2-sc-11szotn-1 HIsGX"
>
<div
className="data-section___StyledDiv3-sc-11szotn-2 KRmSO"
className="data-section___StyledDiv3-sc-11szotn-2 kYcAOi"
data-cy="data-product"
>
<div>
Expand Down Expand Up @@ -200,7 +200,7 @@ exports[`Data Section matches snapshot 1`] = `
</div>
</div>
<div
className="data-section___StyledDiv3-sc-11szotn-2 KRmSO"
className="data-section___StyledDiv3-sc-11szotn-2 kYcAOi"
data-cy="data-product"
>
<div>
Expand All @@ -211,7 +211,7 @@ exports[`Data Section matches snapshot 1`] = `
CAMP2Ex P-3 Remotely Sensed Aerosol Data
</label>
<a
className="external-link___StyledA-sc-3ezy1s-0 iQSFnp"
className="external-link___StyledA-sc-3ezy1s-0 cuaQiH"
data-cy="doi-link"
href="http://dx.doi.org/10.5067/Airborne/CAMP2Ex_Aerosol_AircraftRemoteSensing_P3_Data_1"
rel="noopener noreferrer"
Expand Down Expand Up @@ -283,7 +283,7 @@ exports[`Data Section matches snapshot 1`] = `
</div>
</div>
<div
className="data-section___StyledDiv3-sc-11szotn-2 KRmSO"
className="data-section___StyledDiv3-sc-11szotn-2 kYcAOi"
data-cy="data-product"
>
<div>
Expand Down Expand Up @@ -335,7 +335,7 @@ exports[`Data Section matches snapshot 1`] = `
</div>
</div>
<div
className="data-section___StyledDiv3-sc-11szotn-2 KRmSO"
className="data-section___StyledDiv3-sc-11szotn-2 kYcAOi"
data-cy="data-product"
>
<div>
Expand Down Expand Up @@ -387,7 +387,7 @@ exports[`Data Section matches snapshot 1`] = `
</div>
</div>
<div
className="data-section___StyledDiv3-sc-11szotn-2 KRmSO"
className="data-section___StyledDiv3-sc-11szotn-2 kYcAOi"
data-cy="data-product"
>
<div>
Expand Down
56 changes: 23 additions & 33 deletions src/components/__tests__/__snapshots__/footer.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@

exports[`Footer renders correctly 1`] = `
<footer
className="footer___StyledFooter-sc-p4lrvs-2 gvKLaO"
className="footer__PageFooter-sc-p4lrvs-0 iGQidj"
data-cy="page-footer"
>
<div
className="footer___StyledDiv-sc-p4lrvs-3 irzJlc"
className="footer__PageFooterInner-sc-p4lrvs-1 ekVidU"
>
<div
className="footer___StyledDiv2-sc-p4lrvs-4 fvMgqH"
>
<div>
<div
className="footer___StyledDiv3-sc-p4lrvs-5 iHlXaS"
className="footer___StyledDiv-sc-p4lrvs-4 iAhPYw"
data-cy="footer-title"
>
NASA | CASEI
Expand All @@ -27,16 +25,15 @@ exports[`Footer renders correctly 1`] = `
</p>
</div>
<div
className="footer___StyledDiv4-sc-p4lrvs-6 fEgwOa"
data-cy="footer-explore"
>
<p
className="footer__Headline-sc-p4lrvs-1 huPSJz"
className="footer__Headline-sc-p4lrvs-3 fAfnvh"
>
Explore
</p>
<ul
className="footer__Ul-sc-p4lrvs-0 gJnPLs"
className="footer__FooterSectionNavList-sc-p4lrvs-2 fWDbTw"
>
<li>
<a
Expand All @@ -63,7 +60,7 @@ exports[`Footer renders correctly 1`] = `
</a>
</li>
<li
className="footer___StyledLi-sc-p4lrvs-7 cLywhE"
className="footer___StyledLi-sc-p4lrvs-5 cOBauy"
>
<a
data-cy="footer-coming-soon-link"
Expand All @@ -74,17 +71,14 @@ exports[`Footer renders correctly 1`] = `
</li>
</ul>
</div>
<div
className="footer___StyledDiv5-sc-p4lrvs-8 dlarCn"
data-cy="footer-resources"
>
<div>
<p
className="footer__Headline-sc-p4lrvs-1 huPSJz"
className="footer__Headline-sc-p4lrvs-3 fAfnvh"
>
Resources
</p>
<ul
className="footer__Ul-sc-p4lrvs-0 gJnPLs"
className="footer__FooterSectionNavList-sc-p4lrvs-2 fWDbTw"
>
<li>
<a
Expand All @@ -96,16 +90,15 @@ exports[`Footer renders correctly 1`] = `
</ul>
</div>
<div
className="footer___StyledDiv6-sc-p4lrvs-9 kvWjsj"
data-cy="footer-quick-links"
>
<p
className="footer__Headline-sc-p4lrvs-1 huPSJz"
className="footer__Headline-sc-p4lrvs-3 fAfnvh"
>
Quick Links
</p>
<ul
className="footer__Ul-sc-p4lrvs-0 gJnPLs"
className="footer__FooterSectionNavList-sc-p4lrvs-2 fWDbTw"
>
<li>
<a
Expand All @@ -123,7 +116,7 @@ exports[`Footer renders correctly 1`] = `
</li>
<li>
<a
className="external-link___StyledA-sc-3ezy1s-0 iQSFnp"
className="external-link___StyledA-sc-3ezy1s-0 cuaQiH"
data-cy="api documentation-link"
href="https://nasa-impact.github.io/admg-backend/documentation/api_doc.html"
rel="noopener noreferrer"
Expand Down Expand Up @@ -158,20 +151,19 @@ exports[`Footer renders correctly 1`] = `
</ul>
</div>
<div
className="footer___StyledDiv7-sc-p4lrvs-10 egifOX"
data-cy="footer-organizations"
>
<p
className="footer__Headline-sc-p4lrvs-1 huPSJz"
className="footer__Headline-sc-p4lrvs-3 fAfnvh"
>
Organizations
</p>
<ul
className="footer__Ul-sc-p4lrvs-0 gJnPLs"
className="footer__FooterSectionNavList-sc-p4lrvs-2 fWDbTw"
>
<li>
<a
className="external-link___StyledA-sc-3ezy1s-0 iQSFnp"
className="external-link___StyledA-sc-3ezy1s-0 cuaQiH"
data-cy="admg-website-link"
href="https://earthdata.nasa.gov/esds/impact/admg"
rel="noopener noreferrer"
Expand Down Expand Up @@ -205,7 +197,7 @@ exports[`Footer renders correctly 1`] = `
</li>
<li>
<a
className="external-link___StyledA-sc-3ezy1s-0 iQSFnp"
className="external-link___StyledA-sc-3ezy1s-0 cuaQiH"
data-cy="impact-website-link"
href="https://earthdata.nasa.gov/esds/impact"
rel="noopener noreferrer"
Expand Down Expand Up @@ -239,14 +231,12 @@ exports[`Footer renders correctly 1`] = `
</li>
</ul>
</div>
<hr
className="footer___StyledHr-sc-p4lrvs-11 eoPdla"
/>
<hr />
<div
className="footer___StyledDiv8-sc-p4lrvs-12 ssMNC"
className="footer___StyledDiv2-sc-p4lrvs-6 grPBXa"
>
<div
className="footer___StyledDiv9-sc-p4lrvs-13 fIhhKf"
className="footer___StyledDiv3-sc-p4lrvs-7 iuXYQY"
>
<a
aria-label="Visit nasa.gov (opens in a new window)"
Expand All @@ -268,7 +258,7 @@ exports[`Footer renders correctly 1`] = `
NASA Official:
<span
className="footer___StyledSpan-sc-p4lrvs-14 dznhzw"
className="footer___StyledSpan-sc-p4lrvs-8 kOgjsV"
>
Rahul Ramachandran
</span>
Expand All @@ -278,15 +268,15 @@ exports[`Footer renders correctly 1`] = `
</div>
</div>
<div
className="footer___StyledDiv10-sc-p4lrvs-15 hmTsNQ"
className="footer___StyledDiv4-sc-p4lrvs-9 imNSLA"
data-cy="footer-credit-devseed"
>
©
2024
, Built by
<a
className="external-link___StyledA-sc-3ezy1s-0 iQSFnp"
className="external-link___StyledA-sc-3ezy1s-0 cuaQiH"
data-cy="devseed-website-link"
href="https://www.developmentseed.org"
rel="noopener noreferrer"
Expand Down
44 changes: 36 additions & 8 deletions src/components/__tests__/__snapshots__/header.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,31 @@

exports[`Header renders correctly 1`] = `
<div
className="sticky-banner___StyledDiv-sc-e0ldth-0 gjXAxl"
className="sticky-banner___StyledDiv-sc-e0ldth-0 fAmbOa"
>
<header
className="header___StyledHeader-sc-4sefiz-0 eymLSC"
className="header__PageHeaderSelf-sc-4sefiz-0 esItOh"
id="main-header"
mode="lightTheme"
>
<div
className="header___StyledDiv-sc-4sefiz-1 hgzXFp"
className="header__PageHeaderInner-sc-4sefiz-1 jolyZD"
>
<div
className="header___StyledDiv2-sc-4sefiz-2 hkPJce"
className="header___StyledDiv-sc-4sefiz-6 gZfonL"
>
<a
aria-label="Visit nasa.gov (opens in a new window)"
className="header__BrandImageLink-sc-4sefiz-3 eImqit"
href="https://www.nasa.gov"
rel="noopener noreferrer"
target="_blank"
/>
<div
className="header___StyledDiv3-sc-4sefiz-3 xYXsp"
className="header___StyledDiv2-sc-4sefiz-7 hZZACY"
/>
<a
className="header___StyledLink-sc-4sefiz-4 zwKr"
className="header___StyledLink-sc-4sefiz-8 fzkXbZ"
href="/"
>
<svg
Expand Down Expand Up @@ -57,14 +59,40 @@ exports[`Header renders correctly 1`] = `
</g>
</svg>
<div
className="header___StyledDiv4-sc-4sefiz-5 jQxBae"
className="header___StyledDiv3-sc-4sefiz-9 dgEIeO"
>
Shortname from props
</div>
</a>
</div>
<div
className="header___StyledDiv5-sc-4sefiz-6 iMBbkb"
className="header__PageNavToggleWrapper-sc-4sefiz-4 inGjsJ"
>
<button
className="button__Clickable-sc-1yw7vig-0 button___StyledClickable-sc-1yw7vig-2 fRqvWm bvKEjn"
onClick={[Function]}
>
<svg
fill="currentColor"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"
fill="#262a31"
/>
<path
d="M1,9h14V7H1V9z M1,14h14v-2H1V14z M1,2v2h14V2H1z"
/>
</svg>
</button>
</div>
<nav
className="header__PageNavWrapper-sc-4sefiz-2 ca-dZgN"
mode="lightTheme"
role="navigation"
/>
</div>
</header>
Expand Down
Loading

0 comments on commit c0ebe4e

Please sign in to comment.