navapbc / simpler-grants-gov

https://simpler.grants.gov
Other
1 stars 0 forks source link

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

Open rylew1 opened 3 months ago

rylew1 commented 3 months ago

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

rylew1 commented 3 months ago

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