eAPD icon indicating copy to clipboard operation
eAPD copied to clipboard

[Testing] Cypress seed for MMIS

Open mirano-darren opened this issue 2 years ago • 0 comments

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

mirano-darren avatar Oct 11 '22 17:10 mirano-darren