Improve development, testing, and workflow:
- Test with config/puma.rb with lower thread count since we have less cores in github actions
- Add cypress-grep or similar to be able to tag tests and run them individually by tag (smoketest, simulate_worker, db_mutate)
- The last tag, db_mutate, could help us track tests that mutate the database so we can eventually move to using something like cypress-rails to rollback changes done in the test automatically.
- Provide more interfaces for automatically starting dependent processes
bundle exec rake spec:cypress
- automatically expands rate limit, starts our rails server, starts a simulated worker process, etc.yarn cypress:open
- doesn't do any of that... you have to do this yourselfyarn cypress:run:chrome
- same as above...
- We should automatically start with
CYPRESS=true
from these or make it clear so devs know to use that to run without miq_debug notifications and slow code reloading.