Skip to content

fix(cypress.config): patch Cypress Authentik test configuration& update contact E2E tests#313

Merged
TylerAdamMartinez merged 3 commits into
stagingfrom
fix/bdms-839-patch-ci-tests
Jul 15, 2026
Merged

fix(cypress.config): patch Cypress Authentik test configuration& update contact E2E tests#313
TylerAdamMartinez merged 3 commits into
stagingfrom
fix/bdms-839-patch-ci-tests

Conversation

@TylerAdamMartinez

@TylerAdamMartinez TylerAdamMartinez commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Why

This PR addresses the following problem/context:

  • Fix Cypress authentication so E2E tests run against the mocked Authentik flow instead of attempting a real OAuth token exchange.
  • Update contact E2E tests to reflect the current Contact UI and workflows after recent application changes.

How

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

  • Added VITE_TEST_AUTH to the Cypress GitHub Actions workflow so the frontend uses the test authentication flow during E2E testing.

Notes

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

  • Contact Create E2E coverage was temporarily removed because the existing test no longer reflected the current UI and needs to be rewritten.

@TylerAdamMartinez TylerAdamMartinez self-assigned this Jul 15, 2026
@TylerAdamMartinez TylerAdamMartinez added the bug Something isn't working label Jul 15, 2026
@github-actions

Copy link
Copy Markdown

Preview Deployment

Preview URL: https://preview-fix-bdms-839-patch-ci-tests-auejgdbofq-uc.a.run.app

Note: This preview uses the staging API endpoints.

@github-actions

Copy link
Copy Markdown

Preview Deployment

Preview URL: https://preview-fix-bdms-839-patch-ci-tests-auejgdbofq-uc.a.run.app

Note: This preview uses the staging API endpoints.

@TylerAdamMartinez TylerAdamMartinez changed the title fix(cypress.config): mv VITE_TEST_AUTH from config to Github workflow fix(cypress.config): patch Cypress Authentik test configuration& update contact E2E tests Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contact Create E2E coverage was temporarily removed because the existing test no longer reflected the current UI.

@github-actions

Copy link
Copy Markdown

Preview Deployment

Preview URL: https://preview-fix-bdms-839-patch-ci-tests-auejgdbofq-uc.a.run.app

Note: This preview uses the staging API endpoints.

@chasetmartin chasetmartin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, great to see the entire test suite passing!

Doesn't relate to the PR merging but worth a note: location_create.cy.ts and location_edit.cy.ts tests in the Cypress suite and their associated app routes have not been worked on for months given V1 launch and the pivot to Jeremy's initial editing capability work. The location/create and edit routes are only available via direct url to admin users I believe. Same can be said about many of the other currently untested and/or stale routes documented by Jeremy in his OcotilloUI: URL Inventory doc (Shared on Slack). Wanted to mention this for @lizalino and any code health / technical debt backlog tickets.

@TylerAdamMartinez
TylerAdamMartinez merged commit 76a6fd9 into staging Jul 15, 2026
5 checks passed
@TylerAdamMartinez
TylerAdamMartinez deleted the fix/bdms-839-patch-ci-tests branch July 15, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants