raft-tech / TANF-app

Repo for development of a new TANF Data Reporting System
Other
16 stars 3 forks source link

[Spike] As a developer, I want to run Pa11y integration tests from a test suite #1492

Open riatzukiza opened 2 years ago

riatzukiza commented 2 years ago

Description:

Some issues are difficult to unit tests, for example, on #1419, we went under 90% test coverage fixing an issue with keyboard nav, but it is not reasonable to test it in jest, so it was ignored. If we want to catch bugs like it more easily, we need a mechanism to run integration tests on a headless browser. Pa11y does this, but it is not configurable enough through its json file to meet all of our needs. We propose that we start running pa11y through its js interface, in conjunction with a test runner.

Acceptance Criteria: Create a list of functional outcomes that must be achieved to complete this issue

Tasks: Create a list of granular, specific work items that must be completed to deliver the desired outcomes of this issue

Notes: Add additional useful information, such as related issues and functionality that isn't covered by this specific issue, and other considerations that will be helpful for anyone reading this

robgendron commented 5 months ago

Update: Still needed.

robgendron commented 2 months ago

Follow-on conversation is needed @andrew-jameson

robgendron commented 4 weeks ago

Let's take this to an office hour - Explore if Cypress will give this and generate a pro/con list @andrew-jameson.