HHS / simpler-grants-gov

https://simpler.grants.gov
Other
44 stars 13 forks source link

[Task]: Add a pa11y ci step to spin up the API so it shows search results #2147

Open acouch opened 1 month ago

acouch commented 1 month ago

Migrated from https://github.com/navapbc/simpler-grants-gov/issues/74 Originally created by @rylew1 on Fri, 07 Jun 2024 16:46:34 GMT


blocked by #40

Summary

When pa11y tests the search page, it is doing so against just the frontend, and therefore the search page will not have any search results loaded (it will be just the red error alert) - but we want to a11y test against the actual search result list content.

ci-frontend-a11y.yml should add a step to load the API (see the ci-frontend-e2e.yml file for how to do this - it should be the same exact process)

Acceptance criteria

acouch commented 1 month ago

Migrated from https://github.com/navapbc/simpler-grants-gov/issues/74#issuecomment-2155192487 Originally created by @rylew1 on Fri, 07 Jun 2024 16:49:31 GMT


I think we actually want to test against both the red error state, and valid search results state.