Nightly cypress failure mapspec (#580)

* fixes failing tests

* adds snapshot test
This commit is contained in:
Vim 2021-09-01 11:26:49 -07:00 committed by GitHub
commit 62ab7f58df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 251 additions and 159 deletions

View file

@ -1,4 +1,20 @@
{
"alert.alertBetaBody": {
"defaultMessage": "This website may be continuously updated",
"description": "Body for an alert inform users that datasets may change"
},
"alert.alertBetaTitle": {
"defaultMessage": "Public beta",
"description": "Title for an alert inform users that datasets may change"
},
"alert.alertDataLimitedBody": {
"defaultMessage": "Datasets may be added, updated, or removed.",
"description": "Body for an alert inform users that datasets may change"
},
"alert.alertDataLimitedTitle": {
"defaultMessage": "Limited data sources",
"description": "Title for an alert inform users that datasets may change"
},
"areaDetail.geographicInfo.censusBlockGroup": {
"defaultMessage": "Census block group:",
"description": "the census block group id number of the feature selected"
@ -55,36 +71,8 @@
"defaultMessage": "percentile",
"description": "the percentil of the feature selected"
},
"areasOfInterest.climate": {
"defaultMessage": "Climate change",
"description": "item in areasOfInterest list"
},
"areasOfInterest.energy": {
"defaultMessage": "Clean energy and energy efficiency",
"description": "item in areasOfInterest list"
},
"areasOfInterest.housing": {
"defaultMessage": "Affordable and sustainable housing",
"description": "item in areasOfInterest list"
},
"areasOfInterest.pollution": {
"defaultMessage": "Remediation of legacy pollution",
"description": "item in areasOfInterest list"
},
"areasOfInterest.training": {
"defaultMessage": "Training and workforce development",
"description": "item in areasOfInterest list"
},
"areasOfInterest.transit": {
"defaultMessage": "Clean transit",
"description": "item in areasOfInterest list"
},
"areasOfInterest.water": {
"defaultMessage": "Clean water infrastructure",
"description": "item in areasOfInterest list"
},
"contact.general": {
"defaultMessage": "For technical support, email {tech_email_address}",
"defaultMessage": "For general feedback, email {general_email_address}",
"description": "Contact page body text"
},
"contact.pageheader": {
@ -95,10 +83,6 @@
"defaultMessage": "Email us",
"description": "Heading for page to allow users to contact project maintainers"
},
"datasetAlert.header.alertMsg": {
"defaultMessage": "Limited data sources — Datasets may be added, updated, or removed.",
"description": "an alert message to inform users that datasets may change"
},
"datasetCard.dataDateRange": {
"defaultMessage": "Data date range:",
"description": "label associated with explaining the card"
@ -140,7 +124,7 @@
"description": "Footer under logo"
},
"footer.moreinfoheader": {
"defaultMessage": "More Information",
"defaultMessage": "More information",
"description": "Footer column header"
},
"footer.privacylink": {
@ -159,14 +143,6 @@
"defaultMessage": "About",
"description": "Header navigate item to the about page"
},
"header.alertBodyBeta": {
"defaultMessage": "This website will be continuously updated",
"description": "Alerts that appear on every page"
},
"header.alertTitleBeta": {
"defaultMessage": "Public beta",
"description": "Alerts that appear on every page - title"
},
"header.contact": {
"defaultMessage": "Contact",
"description": "Header navigate item to the Contact page"
@ -191,22 +167,26 @@
"defaultMessage": "How You Can Help Improve the Tool",
"description": "the header of the how you can help section"
},
"index.aboutContent.header": {
"defaultMessage": "About Justice40",
"description": "h1 header on About page"
},
"index.aboutContent.p1": {
"defaultMessage": "In an effort to address historical environmental injustices, President Biden created the Justice40 Initiative on January 27, 2021. The Justice40 Initiative directs 40% of the benefits from federal investments in seven key areas to overburdened and underserved communities.",
"defaultMessage": "On January 27, 2021, President Biden directed the Council on Environmental Quality (CEQ) to create a climate and economic justice screening tool. The purpose of the tool is to provide socioeconomic, environmental, and climate information and data to help inform decisions that may affect disadvantaged communities. The tool is designed to assist Federal agencies in identifying disadvantaged communities for the purposes of the Justice40 Initiative.",
"description": "paragraph 1 of main content on index page"
},
"index.aboutContent.p2": {
"defaultMessage": "Federal agencies will prioritize benefits using a new climate and economic justice screening tool. This screening tool will be a map that visualizes data to compare the cumulative impacts of environmental, climate, and economic factors. It is being developed by the Council on Environmental Quality (CEQ) with guidance from environmental justice leaders and communities affected by environmental injustices. The first version of the screening tool will be released in July 2021. However, the screening tool and data being used will be continuously updated to better reflect the lived experiences of community members.",
"defaultMessage": "The goal of the Justice40 Initiative is for 40 percent of benefits of Federal programs in seven key areas to flow to disadvantaged communities. These seven key areas are: climate change, clean energy and energy efficiency, clean transit, affordable and sustainable housing, training and workforce development, remediation of legacy pollution, and clean water infrastructure.",
"description": "paragraph 2 of main content on index page"
},
"index.aboutContent.p3": {
"defaultMessage": "Read more about the Justice40 Initiative in President Bidens {presidentLink}",
"description": "paragraph 3 of main content on index page"
},
"index.heading.justice40": {
"defaultMessage": "About the Justice40 Initiative",
"description": "heading for about justice 40"
},
"index.heading.screentool": {
"defaultMessage": "About the screening tool",
"description": "heading for about screening tool"
},
"index.presidentalLinkLabel": {
"defaultMessage": "Executive Order on Tackling the Climate Crisis at Home and Abroad.",
"description": "Link url to presidential actions executive order. Part of paragraph 3"
@ -215,38 +195,14 @@
"defaultMessage": "https://www.whitehouse.gov/briefing-room/presidential-actions/2021/01/27/executive-order-on-tackling-the-climate-crisis-at-home-and-abroad/",
"description": "Link url to presidential actions executive order. Part of paragraph 3"
},
"index.section2.header": {
"defaultMessage": "Areas of Focus",
"description": "section 2 header"
},
"index.section3.header": {
"defaultMessage": "A Transparent, Community-First Approach",
"description": "section 3 header"
},
"index.section3.inclusive": {
"defaultMessage": "{inlineHeader} Many areas which lack investments also lack environmental data and would be overlooked using available environmental data. CEQ is actively reaching out to groups that have historically been excluded from decision-making, such as groups in rural and tribal areas, to understand their needs and ask for their input.",
"description": "section 3 content inclusive"
},
"index.section3.inclusiveLabel": {
"defaultMessage": "Inclusive:",
"description": "Italic label for 2nd paragraph of section 3 on index page"
},
"index.section3.intro": {
"defaultMessage": "Successful initiatives are guided by direct input from the communities they are serving. CEQ commits to transparency, inclusivity, and iteration in building this screening tool.",
"description": "section 3 content paragraph 1 intro"
},
"index.section3.iterative": {
"defaultMessage": "{inlineHeader} The initial community prioritization list provided by the screening tool is the beginning of a collaborative process in score refinement, rather than a final answer. CEQ has received recommendations on data sets from community interviews, the White House Environmental Justice Advisory Council, and through public comment, but establishing a score that is truly representative will be a long-term, ongoing process. As communities submit feedback and recommendations, CEQ will continue to improve the tools being built and the processes for stakeholder and public engagement.",
"description": "section 3 content iterative"
},
"index.section3.iterativeLabel": {
"defaultMessage": "Iterative:",
"description": "Italic label for 3rd paragraph of section 3 on index page"
},
"index.section3.transparent": {
"defaultMessage": "{inlineHeader} The code and data behind the screening tool are open source, meaning it is available for the public to review and contribute to. This tool is being developed publicly so that communities, academic experts, and anyone whos interested can be involved in the tool-building process.",
"description": "section 3 content transparent"
},
"index.section3.transparentLabel": {
"defaultMessage": "Transparent:",
"description": "Italic label for 1st paragraph of section 3 on index page"
@ -318,5 +274,33 @@
"mapwrapper.download.link": {
"defaultMessage": "Download the draft list of prioritized communities (pre-decisional) and datasets used",
"description": "download link for datasets"
},
"youCanHelpDataMethLinkText.link.text": {
"defaultMessage": "Data & methodology",
"description": "Data & methodology link"
},
"youCanHelpDataMethPrefixText.link.prefix.text": {
"defaultMessage": "View our",
"description": "view our"
},
"youCanHelpDataMethSuffixText.link.suffix.text": {
"defaultMessage": "and send us feedback",
"description": "send us feedbackv via email"
},
"youCanHelpInfoLink.link.text": {
"defaultMessage": "get an email from you",
"description": "you can help info text "
},
"youCanHelpInfoText.list.element.prefix": {
"defaultMessage": "If you have helpful information, wed love to",
"description": "you can help info text "
},
"youCanHelpSharingLinkText.link.text": {
"defaultMessage": "share your feedback",
"description": "sharing link to email"
},
"youCanHelpSharingPrefixText.link.prefix.text": {
"defaultMessage": "Find your community and",
"description": "find your community"
}
}