mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-11 03:44:19 -07:00
* Add gherkin tests for page navigation links - test that every page will load when navigating from any other page - update snapshots * Add gherkin workflows 2 - 5 - add test for Federal program officer key information and CTA - add test for Community members key information and CTA - add test for Send feedback - add test for Join the Open Source community - update snapshots * Add gherkin tests for footer links - add footerlinks feature gherkin file - adds a comment to the hyphenizeString() - adds keyword functions for footer - adds data-cy tags to footer component - updates snapshots * Adds workflow to learn more about EO * Add gherkin test for dataset links - add data-cy tags to dataset sections - modify Cy command functions names - update snapshots * Add cypress test to deploy_staging.yml * Add working directory env * Remove keywords.js from cypress test * Add a Then step to all About and Footer tests * Refactor step definitions - use globalStepDefinitions - rename keywords to commonSteps - remove keyword from exclusion list
181 lines
5.1 KiB
Text
181 lines
5.1 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`J40Footer renders correctly 1`] = `
|
|
<DocumentFragment>
|
|
<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"
|
|
>
|
|
Contact
|
|
</div>
|
|
<ul
|
|
class="usa-list usa-list--unstyled"
|
|
>
|
|
<li
|
|
class="usa-footer__secondary-link"
|
|
>
|
|
<address
|
|
class="usa-footer__address j40-footer-address"
|
|
>
|
|
<div
|
|
class="usa-footer__contact-info grid-row grid-gap"
|
|
>
|
|
<div
|
|
class="grid-col-auto"
|
|
>
|
|
Council on Environmental Quality
|
|
</div>
|
|
<div
|
|
class="grid-col-auto"
|
|
>
|
|
730 Jackson Pl NW
|
|
</div>
|
|
<div
|
|
class="grid-col-auto"
|
|
>
|
|
Washington, D.C. 20506
|
|
</div>
|
|
<div
|
|
class="grid-col-auto"
|
|
>
|
|
(202) 395-5750
|
|
</div>
|
|
</div>
|
|
</address>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</div>
|
|
<div
|
|
class="mobile-lg:grid-col-12 desktop:grid-col-4"
|
|
>
|
|
<section>
|
|
<div
|
|
class="j40-h4"
|
|
>
|
|
More information
|
|
</div>
|
|
<ul
|
|
class="usa-list usa-list--unstyled"
|
|
>
|
|
<li
|
|
class="usa-footer__secondary-link"
|
|
>
|
|
<a
|
|
class="footer-link-first-child"
|
|
data-cy="whitehouse-gov"
|
|
href="https://www.whitehouse.gov/"
|
|
rel="noreferrer"
|
|
target="_blank"
|
|
>
|
|
Whitehouse.gov
|
|
</a>
|
|
</li>
|
|
<li
|
|
class="usa-footer__secondary-link"
|
|
>
|
|
<a
|
|
data-cy="freedom-of-information-act-(foia)"
|
|
href="https://www.whitehouse.gov/ceq/foia"
|
|
rel="noreferrer"
|
|
target="_blank"
|
|
>
|
|
Freedom of Information Act (FOIA)
|
|
</a>
|
|
</li>
|
|
<li
|
|
class="usa-footer__secondary-link"
|
|
>
|
|
<a
|
|
data-cy="privacy-policy"
|
|
href="https://www.whitehouse.gov/privacy/"
|
|
rel="noreferrer"
|
|
target="_blank"
|
|
>
|
|
Privacy Policy
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</div>
|
|
<div
|
|
class="mobile-lg:grid-col-12 desktop:grid-col-4"
|
|
>
|
|
<section>
|
|
<div
|
|
class="j40-h4"
|
|
>
|
|
Have a question about government services?
|
|
</div>
|
|
<ul
|
|
class="usa-list usa-list--unstyled"
|
|
>
|
|
<li
|
|
class="usa-footer__secondary-link"
|
|
>
|
|
<a
|
|
class="footer-link-first-child"
|
|
data-cy="find-a-contact-at-usa-gov"
|
|
href="https://www.usa.gov/"
|
|
>
|
|
Find a contact at USA.gov
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="usa-footer__secondary-section"
|
|
>
|
|
<div
|
|
class="grid-container-desktop-lg"
|
|
data-testid="gridContainer"
|
|
>
|
|
<div
|
|
class="usa-footer__logo grid-row mobile-lg:grid-col-6 mobile-lg:grid-gap-2 j40-footer-logo"
|
|
data-testid="footerLogo"
|
|
>
|
|
<div
|
|
class="mobile-lg:grid-col-auto"
|
|
>
|
|
<img
|
|
alt="Whitehouse logo"
|
|
class="usa-footer__logo-img"
|
|
src="test-file-stub"
|
|
/>
|
|
</div>
|
|
<div
|
|
class="mobile-lg:grid-col-auto"
|
|
>
|
|
<div
|
|
class="j40-footer-ceq-font"
|
|
>
|
|
Council on Environmental Quality
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</DocumentFragment>
|
|
`;
|