j40-cejst-2/client/src/pages/tests/__snapshots__/about.test.tsx.snap
Rob Brackett 169b86f273
Update client test snapshots (#8)
We've had a bunch of changes to the client UI without CI running, and those changes hove broken snapshot tests. Since the changes all seem reasonable, this just updates the snapshots to allow the tests to pass.
2025-01-26 17:15:34 -08:00

362 lines
11 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`rendering of the DatasetContainer checks if various text fields are visible 1`] = `
<DocumentFragment>
<header
class="usa-header usa-header--basic"
data-testid="header"
role="banner"
>
<div>
<div>
<strong>
This is an unofficial copy of the CEJST Tool.
</strong>
We are working on an overhaul, but in the meantime some links and text may incorrectly suggest that this site is affiliated with the US Government.
</div>
</div>
<div
class="grid-container-desktop-lg"
data-testid="gridContainer"
>
<div
class="grid-row"
data-testid="grid"
>
<div
class="grid-col-1"
data-testid="grid"
>
<a
data-cy="nav-link-explore-the-map"
href="/en/"
>
<img
alt="Climate and Economic Justice Screening Tool"
src="test-file-stub"
/>
</a>
</div>
<div
class="grid-col-6"
data-testid="grid"
>
<a
class="remove-link-style"
data-cy="nav-link-explore-the-map"
href="/en/"
>
<div>
Climate and Economic Justice Screening Tool
</div>
</a>
</div>
<div
class="grid-col-fill"
data-testid="grid"
>
<button
class="usa-menu-btn"
data-testid="navMenuButton"
type="button"
>
Menu
</button>
<nav
class="usa-nav"
>
<button
class="usa-nav__close"
data-testid="navCloseButton"
type="button"
>
<img
alt="close"
src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjx0aXRsZT5jbG9zZTwvdGl0bGU+PHBhdGggZmlsbD0iIzU2NUM2NSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNTcuMDQyIDEuMTVsNS44MDkgNS44MDhhNCA0IDAgMCAxIDAgNS42NTdMNDMuNDY1IDMybDE5LjM4NiAxOS4zODVhNCA0IDAgMCAxIDAgNS42NTdsLTUuODA5IDUuODA5YTQgNCAwIDAgMS01LjY1NyAwTDMyIDQzLjQ2NSAxMi42MTUgNjIuODUxYTQgNCAwIDAgMS01LjY1NyAwbC01LjgwOS01LjgwOWE0IDQgMCAwIDEgMC01LjY1N0wyMC41MzUgMzIgMS4xNDkgMTIuNjE1YTQgNCAwIDAgMSAwLTUuNjU3bDUuODA5LTUuODA5YTQgNCAwIDAgMSA1LjY1NyAwTDMyIDIwLjUzNSA1MS4zODUgMS4xNDlhNCA0IDAgMCAxIDUuNjU3IDB6Ii8+PC9zdmc+"
/>
</button>
<ul
class="usa-nav__primary usa-accordion"
>
<li
class="usa-nav__primary-item"
>
<a
data-cy="nav-link-explore-the-map"
href="/en/"
>
Explore the map
</a>
</li>
<li
class="usa-nav__primary-item"
>
<button
aria-controls="methMenu"
aria-expanded="false"
class="usa-accordion__button usa-nav__link"
data-cy="nav-dropdown-methodology"
data-testid="navDropDownButton"
type="button"
>
<span>
Methodology & data
</span>
</button>
<ul
class="usa-nav__submenu"
hidden=""
id="methMenu"
>
<li
class="usa-nav__submenu-item"
>
<a
data-cy="nav-link-methodology"
href="/en/methodology"
>
Methodology & data
</a>
</li>
<li
class="usa-nav__submenu-item"
>
<a
data-cy="nav-link-downloads"
href="/en/downloads"
>
Downloads
</a>
</li>
<li
class="usa-nav__submenu-item"
>
<a
data-cy="nav-link-previous-versions"
href="/en/previous-versions"
>
Previous versions
</a>
</li>
</ul>
</li>
<li
class="usa-nav__primary-item"
>
<button
aria-controls="aboutMenu"
aria-expanded="false"
class="usa-accordion__button usa-nav__link"
data-cy="nav-dropdown-about"
data-testid="navDropDownButton"
type="button"
>
<span>
About
</span>
</button>
<ul
class="usa-nav__submenu"
hidden=""
id="aboutMenu"
>
<li
class="usa-nav__submenu-item"
>
<a
data-cy="nav-link-about"
href="/en/about"
>
About
</a>
</li>
<li
class="usa-nav__submenu-item"
>
<a
data-cy="nav-link-faqs"
href="/en/frequently-asked-questions"
>
Frequently asked questions
</a>
</li>
</ul>
</li>
<li
class="usa-nav__primary-item"
>
<div>
<div>
<img
alt="language icon for selecting language"
src="test-file-stub"
/>
<a
class="usa-link"
href="#"
>
English
</a>
<a
class="usa-link"
href="#"
>
Español
</a>
</div>
</div>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div
class="grid-container-desktop-lg"
data-testid="gridContainer"
/>
</header>
<main
id="main-content"
>
<div
class="grid-container-desktop-lg"
data-testid="gridContainer"
>
<section
class="page-heading"
>
<h1
data-cy="about-page-heading"
>
About
</h1>
</section>
<div
class="grid-row grid-gap j40-mb5-mt3"
data-testid="grid"
>
<div
class="grid-col-12 tablet:grid-col-8"
data-testid="grid"
>
<section>
<p>
This tool is called the Climate and Economic Justice Screening Tool. The tool has an interactive map and uses datasets that are indicators of burdens in eight categories: climate change, energy, health, housing, legacy pollution, transportation, water and wastewater, and workforce development. The tool uses this information to identify communities that are experiencing these burdens. These are the communities that are disadvantaged because they are marginalized by underinvestment and overburdened by pollution.
</p>
<p>
The current version of the
tool is version 2.0.
</p>
</section>
</div>
<div
class="grid-col-12 tablet:grid-col-1"
data-testid="grid"
/>
</div>
</div>
<div
class="j40-main-grid-blue-bk "
>
<div
class="grid-container-desktop-lg"
data-testid="gridContainer"
>
<div
class="grid-col-12 tablet:grid-col-8 j40-mb5-mt3"
data-testid="grid"
>
<h2>
How to use the tool
</h2>
<p>
The tool shows information about the burdens that communities experience. It uses datasets to identify indicators of burdens. The tool shows these burdens in census tracts. Census tracts are small units of geography. Census tract boundaries for
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.census.gov/programs-surveys/acs/geography-acs/geography-boundaries-by-year.html"
rel="noreferrer"
target="_blank"
>
statistical areas
</a>
are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010. The tool also shows land within the boundaries of Federally Recognized Tribes and point locations for Alaska Native Villages.
</p>
<p>
The tool ranks most of the burdens using percentiles. Percentiles show how much burden each tract experiences compared to other tracts. Certain burdens use percentages or a simple yes/no.
</p>
<p>
A community is considered to be disadvantaged if they are located within a census tract that meets the tools
<a
class="usa-link"
href="/en/methodology"
>
methodology
</a>
or are on land within the boundaries of Federally Recognized Tribes.
</p>
</div>
</div>
</div>
</main>
<footer
class="j40-footer"
>
<div
class="usa-footer__primary-section pb2"
data-cy="footer-primary-block"
>
<div
class="grid-container-desktop-lg"
data-testid="gridContainer"
>
<div
class="grid-row tablet-lg:grid-col4"
>
<div
class="mobile-lg:grid-col-12 desktop:grid-col-4"
>
<section>
<div
class="j40-h4"
>
Want to contribute?
</div>
<ul
class="usa-list usa-list--unstyled"
>
<li
class="usa-footer__secondary-link"
>
<a
class="usa-link usa-link--external footer-link-first-child"
data-cy="check-out-the-code-on-github"
href="https://github.com/edgi-govdata-archiving/j40-cejst-2"
rel="noreferrer"
target="_blank"
>
Check out the code on GitHub
</a>
<span
class="usa-tag "
data-testid="tag"
>
New Location
</span>
</li>
</ul>
</section>
</div>
</div>
</div>
</div>
</footer>
</DocumentFragment>
`;