Skip to content

Add Cypress#8

Merged
JManion32 merged 7 commits into
mainfrom
add-cypress
Mar 3, 2026
Merged

Add Cypress#8
JManion32 merged 7 commits into
mainfrom
add-cypress

Conversation

@JManion32

@JManion32 JManion32 commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

What's new?

  • Added Cypress for E2E testing
  • Added nginx.conf so that pages persist on reload on prod. Previously, they didn't because of single page routing
  • Add a Cypress test for each main feature: Dashboard, Insights, Organizations, Events, and Profile. These tests are trivial (only check <h1>), and currently serve as placeholders.

How to use

  • Cypress tests have been added to CI, and will run on pull request creation / whenever new changes are pushed to it.
  • To run locally, you need to simulate the production environment with docker:
  1. npm install
  2. docker build -t web-ui:test .
  3. docker run -d --name webui -p 5173:80 web-ui:test
  4. npx cypress open
  5. Use the GUI to test whatever feature you need

What's next?

The creation of a WebUI standards document that details conventions for everything including React, TypeScript, CSS, Docker, Cypress, Nginx, and more. This will help keep the team on the same page.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @JManion32! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@JManion32 JManion32 merged commit ae1e97e into main Mar 3, 2026
9 checks passed
@JManion32 JManion32 deleted the add-cypress branch March 3, 2026 03:08
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.

1 participant