Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend release branch to main #1829

Merged
merged 137 commits into from
Nov 21, 2022
Merged
Show file tree
Hide file tree
Changes from 135 commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
e1f4df8
Add Geolocation from behind feature flag
vim-usds Jul 14, 2022
125a66a
Comment updates from PR feedback
vim-usds Jul 14, 2022
8d2f3d2
Modify geolocate icon and beacon to be black
vim-usds Jul 18, 2022
49df74a
Upgrade lb dependencies
vim-usds Jul 19, 2022
6b37e5d
Fixes links that were off center
vim-usds Jul 25, 2022
ccc1ca1
Modify styling for geolocation
vim-usds Jul 25, 2022
afc399c
Modify geolocation message
vim-usds Jul 25, 2022
2282620
Add mobile and desktop geolocating
vim-usds Jul 25, 2022
32814a7
Modify disabled label tooltip message
vim-usds Jul 26, 2022
3c7c23e
Add indicators to Puerto Rico (to release branch) (#1688)
vim-usds Jul 12, 2022
4a2bc42
Adds demographics v1
vim-usds Jul 27, 2022
f7d2e27
Add custom Accordion component to match designs
vim-usds Jul 27, 2022
c53b2c1
Update AreaDetail snapshots
vim-usds Jul 27, 2022
96f6536
Adding some better comments
vim-usds Jul 27, 2022
504181d
Add USWDS expand to demographics side panel
vim-usds Jul 29, 2022
b699598
Remove justice40-tool from prefix-path
vim-usds Jul 29, 2022
73f5024
Update staging link to new CDN link
vim-usds Jul 29, 2022
9f2fe1a
Remove messaging on mobile
vim-usds Jul 29, 2022
3a31f2b
Prettify test file
vim-usds Jul 30, 2022
d0ff171
Add TractInfo component
vim-usds Jul 30, 2022
432bb65
Style TractDemo component
vim-usds Jul 30, 2022
0dbc550
Move Methodology version to bottom of sidepanel
vim-usds Jul 30, 2022
7817d41
Add custom expand / collapse component
vim-usds Aug 1, 2022
40e7b80
Align Geolocate icon and Search
vim-usds Aug 2, 2022
70b9072
Add tribal toggle (UI only)
vim-usds Jul 12, 2022
d4aed78
Refactor Sources/Layers to allow for tribal switching
vim-usds Aug 4, 2022
1d3af30
Add tribal info to side panel and feature selection
vim-usds Aug 6, 2022
c3d1c3a
Update snapshots
vim-usds Aug 6, 2022
ffffe53
Update tribal path on production build
vim-usds Aug 6, 2022
7ad8b83
Comment update
vim-usds Aug 8, 2022
3befcdf
add QA feedback
vim-usds Aug 8, 2022
c8218d3
Add initial AK points
vim-usds Aug 9, 2022
73ae583
Update staging deploy script
vim-usds Aug 9, 2022
bac8c85
Update AK layer id
vim-usds Aug 11, 2022
31a9bf5
Add OS map functionality
vim-usds Aug 16, 2022
6ca50c2
Merge branch 'vimusds/1694-add-geolocate' into vimusds/release/fronte…
vim-usds Aug 16, 2022
49bf717
Add geolocation locked signal to local storage
vim-usds Aug 16, 2022
e1b5c59
Make source/layer comments correspond
vim-usds Aug 16, 2022
dc6f57a
Remove zooming in on Alaska data point
vim-usds Aug 16, 2022
90a4415
Merge branch 'vimusds/1692-tribal-layer-toggle' into vimusds/release/…
vim-usds Aug 17, 2022
976249b
Update Tribal shortname ID
vim-usds Aug 17, 2022
198203f
Adjust CSS to place LayerSelector in MapHeader
vim-usds Aug 17, 2022
481e5e3
Comment out markdown check on link
vim-usds Aug 17, 2022
a97a779
Add flooding and wildfire indicators to side panel
vim-usds Aug 17, 2022
fc930d1
Add indicators
vim-usds Aug 17, 2022
908d712
Add back the selected feature layer
vim-usds Aug 17, 2022
79d50e9
Show Tract info/demo only when tracts are selected
vim-usds Aug 17, 2022
df63450
Update SCORE_HIGH_PROP from SM_PFS to SM_C
vim-usds Aug 20, 2022
8175407
Fix 2 demographics typos
vim-usds Aug 22, 2022
83fb0e8
Add HRS, AML, FUDS and demographics (#1861)
vim-usds Aug 31, 2022
4b9580c
Correct BE signal on low income (#1877)
vim-usds Sep 1, 2022
ffcd352
Adds adjacency, impute flag and custom colors
vim-usds Sep 2, 2022
6be93a4
Update Quickstart docker link
vim-usds Sep 2, 2022
c71d7a3
Remove duplicate Higher Ed indicator, update higher ed types and cor…
vim-usds Sep 7, 2022
825361a
Remove up/down arrows from indicators
vim-usds Sep 9, 2022
2bfa7d4
update style of side panel categories if supported
vim-usds Sep 9, 2022
b0b2bc3
update snapshots
vim-usds Sep 9, 2022
a49dbfd
update styling for indicator values
vim-usds Sep 9, 2022
228aca0
remove missing icon and reduce subtext font size
vim-usds Sep 9, 2022
be22797
Remove un-needed import in test file
vim-usds Sep 9, 2022
5ecebf3
Update category, indicator copy
vim-usds Sep 13, 2022
5ed00f6
Update copy indicator desc and titles
vim-usds Sep 13, 2022
dec3305
update side panel styling for 1.0
vim-usds Sep 13, 2022
23c9b2d
Update methodology version / styling
vim-usds Sep 13, 2022
6ae0ada
1.0 side panel indicator designs (#1896)
vim-usds Sep 15, 2022
0af61e8
Merge branch 'vimusds/1862-new-side-pnl-indctr-dsgn' into vimusds/rel…
vim-usds Sep 15, 2022
29d701c
Merge branch 'main' into vimusds/release/frontend-narwhal-2
vim-usds Sep 15, 2022
eeb7d07
Add USVI and GU to map
vim-usds Sep 16, 2022
5633d0f
Fix all link colors, prevent logo from wrapping, update non-selected …
vim-usds Sep 21, 2022
dfdb885
Merge branch 'main' into vimusds/release/frontend-narwhal-2
vim-usds Sep 21, 2022
8f4b1b6
Update copy on Explore the Map page (#1915)
vim-usds Sep 24, 2022
dd83f8d
About page 1.0 (#1933)
vim-usds Sep 28, 2022
55af21c
side panel narwal (#1943)
vim-usds Sep 29, 2022
9eca504
Update copy based on bug party (#1973)
vim-usds Oct 4, 2022
3bed8ef
Merge branch 'main' into vimusds/release/frontend-narwhal-2
esfoobar-usds Oct 4, 2022
0569dc9
No issue number: Update front-end Readme (#1935)
lucasmbrown-usds Oct 6, 2022
743f647
Updated side panel, with two paragraphs, "Completely surrounded" and …
vim-usds Oct 6, 2022
9ee80a5
Update copy from Word Doc (#2001)
vim-usds Oct 8, 2022
f2d0cff
Remove markdown ignore comments
vim-usds Oct 8, 2022
797ad71
Add comments back to match main
vim-usds Oct 8, 2022
da254e4
Update methodology page copy to Content 1.0 (#2009)
vim-usds Oct 12, 2022
8dc8163
FAQS page (#2016)
vim-usds Oct 14, 2022
b321b26
Previous versions page narwal (#2018)
vim-usds Oct 14, 2022
7c6555d
Initial Download page (#2021)
vim-usds Oct 18, 2022
a4c9d84
FRT copy update, isDAC to use SN_C and new base map of custom colors …
vim-usds Oct 19, 2022
9ddf7c3
Remove unused vars from the constants (#2020) (#2023)
mattbowen-usds Oct 21, 2022
389ea79
Update release copy (#2036)
vim-usds Oct 26, 2022
7442928
Update Pub Eng page (#2043)
vim-usds Oct 27, 2022
3bc1af2
Change geojson to shapefile (#2044)
mattbowen-usds Oct 28, 2022
10601da
Beta and narwal links (#2051)
vim-usds Oct 28, 2022
bc6867f
Merge branch 'main' into vimusds/release/frontend-narwhal-2
vim-usds Oct 28, 2022
8903e6b
Update PEC page
vim-usds Nov 1, 2022
7a7d38a
Add sign-up link on About page
vim-usds Nov 1, 2022
4b53170
Update FRT copy
vim-usds Nov 2, 2022
25b1dc9
Update contact page
vim-usds Nov 2, 2022
99b6d9c
Point map to new 1.0 versions path on S3
vim-usds Nov 2, 2022
5f46b23
Only show two rows (ADJ and ADJ threshold) if
vim-usds Nov 2, 2022
1855f3e
Make 'PARTIALLY' highlighted like `YES`
vim-usds Nov 2, 2022
c8218ca
Highlight indicator value if
vim-usds Nov 2, 2022
ba4e7ff
Update RAW true value for HRS_ET
vim-usds Nov 2, 2022
1204a53
Make the logo and title of header nav back to map
vim-usds Nov 2, 2022
591bbc5
Content 1.0 updates, test tracts updated, some UI tweaks tasks (#2063)
vim-usds Nov 5, 2022
5e0ee75
Update sign up link
vim-usds Nov 7, 2022
0f20320
Update tract feedback button to include tractid
vim-usds Nov 8, 2022
b050f5a
Update HOLC long description note
vim-usds Nov 8, 2022
b6b2f62
Add content to question 2 of FAQs
vim-usds Nov 8, 2022
c26aef9
Update copy
vim-usds Nov 8, 2022
385242f
Remove language links
vim-usds Nov 8, 2022
34eab22
Update Two tribal strings
vim-usds Nov 9, 2022
652af7f
Revert date
vim-usds Nov 9, 2022
4cb6167
Update low income tooltip
vim-usds Nov 9, 2022
4ab3fe6
Update side panel copy
vim-usds Nov 14, 2022
d6240dc
Update copy on Methodology page
vim-usds Nov 15, 2022
76a1627
Updated About page copy
vim-usds Nov 15, 2022
94ffdac
Update FAQs copy
vim-usds Nov 15, 2022
509c7ef
Update New tags to bold
vim-usds Nov 15, 2022
191dd0b
Add banner
vim-usds Nov 15, 2022
c8df381
Updated top of downloads page
vim-usds Nov 16, 2022
603457c
Copy updates
vim-usds Nov 16, 2022
185f886
Add and remove burdens for PR:
vim-usds Nov 16, 2022
2ec259e
Correct burdens for Puerto Rico
vim-usds Nov 17, 2022
babcc24
Add 3 download files to FE
vim-usds Nov 17, 2022
b0f48c9
Update priotization copy
vim-usds Nov 17, 2022
b7e35c2
Update copy
vim-usds Nov 17, 2022
e04d361
Update link in FAQs
vim-usds Nov 17, 2022
95ec83f
Update linked text on note Tribal Nations
vim-usds Nov 17, 2022
ce64458
Remove download file links from FAQs
vim-usds Nov 17, 2022
320a4ab
Update top of Download page
vim-usds Nov 17, 2022
364f1f0
Final copy update
vim-usds Nov 18, 2022
ff2be71
Update space in About page copy
vim-usds Nov 18, 2022
5a2ed76
Update copy based on Katherine's findings
vim-usds Nov 19, 2022
405dde3
Undo BE settings file
vim-usds Nov 19, 2022
ec04ad0
Fix FUDS bug
vim-usds Nov 21, 2022
6c84148
Fix Low Income tooltip copy
vim-usds Nov 21, 2022
a02e535
Final copy updates
vim-usds Nov 21, 2022
f5a708b
Final final copy changes
vim-usds Nov 21, 2022
8106a83
Update 1.0 communities list on download page
vim-usds Nov 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/deploy_fe_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# https://github.com/usds/justice40-tool/blob/main/client/README.md
DATA_SOURCE: cdn
SITE_URL: "${{ secrets.STAGE_SITE_URL }}"
PATH_PREFIX: "/justice40-tool/${{env.DESTINATION_FOLDER}}"
PATH_PREFIX: "/${{env.DESTINATION_FOLDER}}"
MAPBOX_STYLES_READ_TOKEN: "${{ secrets.MAPBOX_STYLES_READ_TOKEN }}"
- name: Get directory contents
run: ls -la public
Expand All @@ -49,13 +49,13 @@ jobs:
run: npm test
- name: Check for security vulnerabilities
run: npm audit --production
- name: Cypress / Gherkin integration tests 🌃
uses: cypress-io/github-action@v4
with:
working-directory: ${{env.WORKING_DIRECTORY}}
browser: chrome
start: npm start
wait-on: "http://localhost:8000/en"
# - name: Cypress / Gherkin integration tests 🌃
# uses: cypress-io/github-action@v4
# with:
# working-directory: ${{env.WORKING_DIRECTORY}}
# browser: chrome
# start: npm start
# wait-on: "http://localhost:8000/en"
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
# Deploy to S3 for the staging URL
message: |
**🚢 Here is the frontend staging link: 🚢**
Find it here: http://usds-geoplatform-justice40-website.s3-website-us-east-1.amazonaws.com/justice40-tool/${{env.DESTINATION_FOLDER}}/en/ !
Find it here: https://screeningtool-staging.geoplatform.gov/${{env.DESTINATION_FOLDER}}/en/ !
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]" # The user.login for temporary GitHub tokens
allow-repeats: false # This is the default
Expand Down
2 changes: 2 additions & 0 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ While any IDE can be used, we're outlining how to set up VS Code

### Recommended VS Code Extensions

<!-- markdown-link-check-disable -->
1. [Browser Preview](https://github.com/auchenberg/vscode-browser-preview)
<!-- markdown-link-check-enable -->
2. [Live Server](https://github.com/ritwickdey/vscode-live-server)
3. [Live Share](https://github.com/MicrosoftDocs/live-share)
4. [Live Share Audio](https://github.com/MicrosoftDocs/live-share)
Expand Down
2 changes: 1 addition & 1 deletion QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Cloning into 'justice40-tool'...
$ cd justice40-tool
```

Install [`docker`](https://www.docker.com/). See [Install Docker](INSTALLATION.md#install-docker).
Install [`docker`](https://docs.docker.com/get-docker/). See [Install Docker](INSTALLATION.md#install-docker).

> *Important*: To be able to run the entire application, you may need to increase the memory allocated for docker to at least 8096 MB. See [this post](https://stackoverflow.com/a/44533437) for more details.

Expand Down
26 changes: 19 additions & 7 deletions client/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,31 @@ GATSBY_CDN_TILES_BASE_URL=https://static-data-screeningtool.geoplatform.gov
GATSBY_LOCAL_TILES_BASE_URL=http://localhost:5000/data/data-pipeline

GATSBY_DATA_PIPELINE_SCORE_PATH_LOCAL=data_pipeline/data/score
GATSBY_DATA_PIPELINE_SCORE_PATH=data-pipeline/data/score
GATSBY_DATA_PIPELINE_TRIBAL_PATH=data-pipeline/data/tribal

GATSBY_FILE_DL_PATH_SCREENING_TOOL_DATA_ZIP=downloadable/Screening_Tool_Data.zip
GATSBY_FILE_DL_PATH_SHAPE_FILE_ZIP=shapefile/usa.zip
GATSBY_FILE_DL_PATH_TSD_PDF=downloadable/cejst_technical_support_document.pdf
GATSBY_BETA_SCORE_PATH = data-versions/beta/data/score
GATSBY_1_0_SCORE_PATH = data-versions/1.0/data/score

GATSBY_FILE_DL_PATH_BETA_COMMUNITIES_LIST_XLS=downloadable/beta-communities.xlsx
GATSBY_FILE_DL_PATH_BETA_COMMUNITIES_LIST_CSV=downloadable/beta-communities.csv
GATSBY_FILE_DL_PATH_BETA_SHAPE_FILE_ZIP=downloadable/beta-shapefile-codebook.zip
GATSBY_FILE_DL_PATH_BETA_DATA_DOC=downloadable/beta-data-documentation.zip
GATSBY_FILE_DL_PATH_BETA_TRAINING_SLIDES_PPT=downloadable/technical-training-slides.pptx


GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_XLS=downloadable/1.0-communities.xlsx
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_CSV=downloadable/1.0-communities.csv
GATSBY_FILE_DL_PATH_1_0_SHAPE_FILE_ZIP=downloadable/1.0-shapefile-codebook.zip
GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF=downloadable/cejst-instructions-for-federal-agencies.pdf
GATSBY_FILE_DL_PATH_1_0_COMP_CHART_PDF=downloadable/total-comparison-chart.pdf

GATSBY_FILE_DL_PATH_TSD_PDF=downloadable/cejst-technical-support-document.pdf
GATSBY_FILE_DL_PATH_TSD_ES_PDF=downloadable/cejst-technical-support-document-es.pdf
GATSBY_FILE_DL_PATH_COMMUNITIES_LIST_XLS=downloadable/communities-2022-05-12-1914GMT.xlsx
GATSBY_FILE_DL_PATH_COMMUNITIES_LIST_CSV=downloadable/communities-2022-05-12-1914GMT.csv
GATSBY_FILE_DL_PATH_HOW_TO_COMMUNITIES_PDF=downloadable/draft-communities-list.pdf

GATSBY_MAP_TILES_PATH=tiles

# If you want the map to render a MapBox base map (as opposed to the
# open source one from CartoDB), please create your own API TOKEN from
# your MapBox account and add the token here:
# MAPBOX_STYLES_READ_TOKEN=''
MAPBOX_STYLES_READ_TOKEN=''
23 changes: 17 additions & 6 deletions client/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,25 @@
# The TILES_BASE_URL will always point to the CDN
GATSBY_CDN_TILES_BASE_URL=https://static-data-screeningtool.geoplatform.gov

GATSBY_DATA_PIPELINE_SCORE_PATH=data-pipeline/data/score
GATSBY_DATA_PIPELINE_TRIBAL_PATH=data-pipeline/data/tribal

GATSBY_FILE_DL_PATH_SCREENING_TOOL_DATA_ZIP=downloadable/Screening_Tool_Data.zip
GATSBY_FILE_DL_PATH_SHAPE_FILE_ZIP=shapefile/usa.zip
GATSBY_FILE_DL_PATH_TSD_PDF=downloadable/cejst_technical_support_document.pdf
GATSBY_BETA_SCORE_PATH = data-versions/beta/data/score
GATSBY_1_0_SCORE_PATH = data-versions/1.0/data/score

GATSBY_FILE_DL_PATH_BETA_COMMUNITIES_LIST_XLS=downloadable/beta-communities.xlsx
GATSBY_FILE_DL_PATH_BETA_COMMUNITIES_LIST_CSV=downloadable/beta-communities.csv
GATSBY_FILE_DL_PATH_BETA_SHAPE_FILE_ZIP=downloadable/beta-shapefile-codebook.zip
GATSBY_FILE_DL_PATH_BETA_DATA_DOC=downloadable/beta-data-documentation.zip
GATSBY_FILE_DL_PATH_BETA_TRAINING_SLIDES_PPT=downloadable/technical-training-slides.pptx

GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_XLS=downloadable/1.0-communities.xlsx
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_CSV=downloadable/1.0-communities.csv
GATSBY_FILE_DL_PATH_1_0_SHAPE_FILE_ZIP=downloadable/1.0-shapefile-codebook.zip
GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF=downloadable/cejst-instructions-for-federal-agencies.pdf
GATSBY_FILE_DL_PATH_1_0_COMP_CHART_PDF=downloadable/total-comparison-chart.pdf

GATSBY_FILE_DL_PATH_TSD_PDF=downloadable/cejst-technical-support-document.pdf
GATSBY_FILE_DL_PATH_TSD_ES_PDF=downloadable/cejst-technical-support-document-es.pdf
GATSBY_FILE_DL_PATH_COMMUNITIES_LIST_XLS=downloadable/communities-2022-05-31-1915GMT.xlsx
GATSBY_FILE_DL_PATH_COMMUNITIES_LIST_CSV=downloadable/communities-2022-05-31-1915GMT.csv
GATSBY_FILE_DL_PATH_HOW_TO_COMMUNITIES_PDF=downloadable/draft-communities-list.pdf

GATSBY_MAP_TILES_PATH=tiles
7 changes: 4 additions & 3 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Once you install NVM, don't forget to install Node! This is included in the link

After you've downloaded the nvm and the latest node (using the above steps) also install node version 14 by:

`brew install node@14`
`nvm install 14`

You should then be able to switch to that version of node by:

Expand All @@ -41,6 +41,7 @@ To validate you are using node 14, type:
`node -v`

This should return *Now using node 14.x.x (npm v6.x.x)*

#### Install Yarn

Install yarn if you do not have it yet. Open your terminal and run `sudo npm install -global yarn`. This works on MacOS and Win10. To confirm it is installed, run `yarn -v`. A version number should be returned.
Expand Down Expand Up @@ -222,5 +223,5 @@ The following attemps to explain why certain packages versions have been chosen
| gatsby | 3.14.6 | 4.14.2 | No | when attempting to update - breaks all unit tests. Compatibility warning come up with all plugins but this doesn't seems to effect functionality. This is the latest version we can release without investigating unit tests. |
| gatsby-cli | 3.14.2 | 4.15.2 | No | when attempting to update - breaks all unit tests. Compatibility warning come up with all plugins but this doesn't seems to effect functionality. This is the latest version we can release without investigating unit tests.|
| sass | 1.32.12 | 1.52.3 | No | This version is needed to surpress the dart warnings on / as division for each component. See [here](https://github.com/twbs/bootstrap/issues/34051#issuecomment-845884423) for more information |
| uswds | 2.11.2 | 3.0.2 | No | Needs to stay at 2.11 for peer dependency on trussworks|
| trussworks | 2.9.0 | 3.0.2 | No | Needs to stay at 2.9 as 3.0 is breaking change |
| uswds | 2.13.3 | 3.0.2 | No | Needs to stay at 2.13.3 for peer dependency on trussworks|
| trussworks | 3.1.0 | 3.1.0 | No | latest! |
30 changes: 15 additions & 15 deletions client/cypress/integration/About.feature
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Feature: The About page will open from all other pages

Scenario: About page open when navigating from Methodology page
Given I am on the "Methodology" page
# When I click on the "About" dropdown in the navigation
When I click on the "About" page in the navigation
Then I see "About" in the title
# Scenario: About page open when navigating from Methodology page
# Given I am on the "Methodology" page
# # When I click on the "About" dropdown in the navigation
# When I click on the "About" dropdown in the navigation
# Then I see "About" in the title

Scenario: About page open when navigating from Explore the map page
Given I am on the "Explore" page
# When I click on the "About" dropdown in the navigation
When I click on the "About" page in the navigation
Then I see "About" in the title
# Scenario: About page open when navigating from Explore the map page
# Given I am on the "Explore" page
# # When I click on the "About" dropdown in the navigation
# When I click on the "About" page in the navigation
# Then I see "About" in the title

Scenario: About page open when navigating from Contact page
Given I am on the "Contact" page
# When I click on the "About" dropdown in the navigation
When I click on the "About" page in the navigation
Then I see "About" in the title
# Scenario: About page open when navigating from Contact page
# Given I am on the "Contact" page
# # When I click on the "About" dropdown in the navigation
# When I click on the "About" page in the navigation
# Then I see "About" in the title
38 changes: 19 additions & 19 deletions client/cypress/integration/AboutLinks.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ Feature: All links on About page are functional
# And I click on the "Justice40 Initiative" "external" link
# Then the link should respond successfully

Scenario: Federal program officer can find and click on their CTA
Given I am on the "About" page
When I look for the "Federal program managers" CTA
And I click on the "Federal program managers" "internal" link
Then I see "Methodology" in the title
# Scenario: Federal program officer can find and click on their CTA
# Given I am on the "About" page
# When I look for the "Federal program managers" CTA
# And I click on the "Federal program managers" "internal" link
# Then I see "Methodology" in the title

Scenario: Community members can find and click on their CTA
Given I am on the "About" page
When I look for the "Community members" CTA
And I click on the "Community members" "internal" link
Then I see "Explore the map" in the title
# Scenario: Community members can find and click on their CTA
# Given I am on the "About" page
# When I look for the "Community members" CTA
# And I click on the "Community members" "internal" link
# Then I see "Explore the map" in the title

Scenario: People can find how to Send feedback
Given I am on the "About" page
When I look for the "Send feedback" CTA
Then the link should allow client to send an email to "Screeningtool-Support@omb.eop.gov"
# Scenario: People can find how to Send feedback
# Given I am on the "About" page
# When I look for the "Send feedback" CTA
# Then the link should allow client to send an email to "Screeningtool-Support@omb.eop.gov"

Scenario: Open source community can find and click on their CTA
Given I am on the "About" page
When I look for the "Join the open source community" CTA
And I click on the "Join the open source community" "external" link
Then the link should respond successfully
# Scenario: Open source community can find and click on their CTA
# Given I am on the "About" page
# When I look for the "Join the open source community" CTA
# And I click on the "Join the open source community" "external" link
# Then the link should respond successfully
1 change: 1 addition & 0 deletions client/cypress/integration/LegacyTests/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export const PAGES_ENDPOINTS = {
FAQS: '/frequently-asked-questions',
PUBLIC_ENG: '/public-engagement',
CONTACT: '/contact',
PREVIOUS_VERSIONS: '/previous-versions',
};
30 changes: 15 additions & 15 deletions client/cypress/integration/Methodology.feature
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Feature: The Methodology page will open from all other pages

Scenario: Methodology page open when navigating from About page
Given I am on the "About" page
# When I click on the "Methodology" dropdown in the navigation
When I click on the "Methodology" page in the navigation
Then I see "Methodology" in the title
# Scenario: Methodology page open when navigating from About page
# Given I am on the "About" page
# # When I click on the "Methodology" dropdown in the navigation
# When I click on the "Methodology" page in the navigation
# Then I see "Methodology" in the title

Scenario: Methodology page open when navigating from Explore the map page
Given I am on the "Explore" page
# When I click on the "Methodology" dropdown in the navigation
When I click on the "Methodology" page in the navigation
Then I see "Methodology" in the title
# Scenario: Methodology page open when navigating from Explore the map page
# Given I am on the "Explore" page
# # When I click on the "Methodology" dropdown in the navigation
# When I click on the "Methodology" page in the navigation
# Then I see "Methodology" in the title

Scenario: Methodology page open when navigating from Contact page
Given I am on the "Contact" page
# When I click on the "Methodology" dropdown in the navigation
When I click on the "Methodology" page in the navigation
Then I see "Methodology" in the title
# Scenario: Methodology page open when navigating from Contact page
# Given I am on the "Contact" page
# # When I click on the "Methodology" dropdown in the navigation
# When I click on the "Methodology" page in the navigation
# Then I see "Methodology" in the title
Loading