codeforboston / maple

MAPLE makes it easy for anyone to view and submit testimony to the Massachusetts Legislature about the bills that will shape our future.
https://mapletestimony.org
MIT License
38 stars 106 forks source link

Set up E2E Testing Framework #1508

Open Mephistic opened 1 month ago

Mephistic commented 1 month ago

In order to prep for the E2E tests we want to start writing to support our deployment work, we need to setup the code base so we can easily write and run Cypress tests.

To that end, let's setup the infrastructure to start writing Cypress tests. As a proof of concept, let's begin with a very simple Cypress test that just checks if the homepage loads successfully. (It has been pointed out that this may be better as a component test - what we're looking for here is just the simplest E2E test possible as an example for the new Cypress setup. Better suggestions are welcome here.)

Success Criteria:

Mephistic commented 1 month ago

@seatuna