strudel-science / strudel-kit

Frontend React templates for implementing scientific UIs with the STRUDEL design system.
https://strudel.science/strudel-kit/docs
Other
8 stars 3 forks source link

Add initial testing framework with cypress #124

Closed codytodonnell closed 3 weeks ago

codytodonnell commented 3 weeks ago

Adds cypress to the project for e2e testing of task flows. This establishes an initial framework for testing task flows where top-level baseapp tests can live in the cypress/e2e directory and tests for individual task flows can live in their respective directories underneath a _tests directory. This is only a convention as any test file suffixed with .cy.ts will be included in the test suite.

There are two more advanced tests for explore-data that are commented out due to their data fetches taking too long. This will be fixed in a subsequent PR which will convert the default state of this task flow to use a local data file.