eAPD
eAPD copied to clipboard
[Testing] Cypress seed for MMIS
Describe the task here and link or add dependencies to any applicable issues...
With MMIS testing just around the corner, take this time to refactor the way seeding the database works and leverage Cypress to help out with seeding for the tests. This will be done by passing in an APD Object and having Cypress inject that data into the database. We should explore if we need to create a new seed or refactor an existing HITECH APD.
This helps save the Cypress tests time by not needing to manually fill out each field to reach a desired state. If we want a specific APD state we can just set it from the beginning in the APD Object
This task is done when...
- [ ] Cypress is able to load a preset APD with data from a JSON file