feat: add cypress end to end tests
Working on smoke testing to test functionality of the comses website.
tests are failing when running on the GH runner, partially because I disabled the debug toolbar but there are a few other things it seems to be getting tripped up on. They mostly seem to coincide with selectors mentioned above that should get changed anyways
@CharlesSheelam I did a little bit of cleanup/refactoring. Just a couple things before I think this is good to go:
-
the data fixture should include things that already exist in the db. The things that are going to get added can stay in, perhaps its a bit cleaner that way, but they'll need to be separated somehow from the data structure that represents the starting data
-
still some fragile selectors that use things that are subject to change like css classes. I redid a couple of these (license selection in codebase.spec.ts, name inputs in user.spec.ts) but there a few more instances scattered around that use stuff like bootstrap button/card classes
failing e2e tests is due to programming error on my part in #757. I suppose it illustrates the usefulness of these!