Skip to content

NO TICKET: Seed Docker DB for Frontend Testing#217

Merged
jirhiker merged 6 commits into
stagingfrom
cm-seed-db-for-dockerized-frontend-testing
Nov 2, 2025
Merged

NO TICKET: Seed Docker DB for Frontend Testing#217
jirhiker merged 6 commits into
stagingfrom
cm-seed-db-for-dockerized-frontend-testing

Conversation

@chasetmartin

Copy link
Copy Markdown
Collaborator

Why

This PR addresses the following problem / context:

  • Frontend ran into issues with Prism mock server for Cypress testing.
  • Running CI Cypress tests from the front end against a dockerized API is one solution to this.

How

Implementation summary - the following was changed / added / removed:

  • Injects two more of the necessary app env variables via docker-compose - which the OcotilloUI will use to spin up the api in CI
  • Adds a seed.py file that CI can run to seed dummy data - the only item necessary right now is a single water well - but this will have to be maintained in some form moving forward. Open to better methods for sure.

Notes

Any special considerations, workarounds, or follow-up work to note?

@codecov-commenter

codecov-commenter commented Oct 31, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.
see 3 files with indirect coverage changes

@jirhiker jirhiker merged commit c56360d into staging Nov 2, 2025
6 checks passed
@TylerAdamMartinez TylerAdamMartinez deleted the cm-seed-db-for-dockerized-frontend-testing branch February 5, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants