comses.net icon indicating copy to clipboard operation
comses.net copied to clipboard

feat: add cypress end to end tests

Open CharlesSheelam opened this issue 1 year ago • 2 comments

Working on smoke testing to test functionality of the comses website.

CharlesSheelam avatar May 27 '24 15:05 CharlesSheelam

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

sgfost avatar Jul 24 '24 02:07 sgfost

@CharlesSheelam I did a little bit of cleanup/refactoring. Just a couple things before I think this is good to go:

  1. 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

  2. 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

sgfost avatar Aug 05 '24 19:08 sgfost

failing e2e tests is due to programming error on my part in #757. I suppose it illustrates the usefulness of these!

sgfost avatar Sep 03 '24 17:09 sgfost