culturecreates / footlight-app

Footlight CMS Front-end
https://cms.footlight.io
3 stars 0 forks source link

Test data to ensure regression test robustness #1289

Open kmdvs opened 2 weeks ago

kmdvs commented 2 weeks ago

Some test data can be used to "inject" event / people / place / organization at the start of regression tests. That would ensure that even in the case of test failure at the creation stage, the deletion step would still function and that part of the regression tests pass...

Suhail refreshed my memory on the API (swagger). That could be used to do the "injection" as step "0" of the regression tests. The whole thing can be done with Cypress. Alternatively, it could also be done with Github Actions and copy directly to the DB through a mongo DB script, although then the Dev team would probably be more suited to do the change, and that step added to Action scripts.

Please prioritize :)

troughc commented 2 weeks ago

We can start this after we get regression tests established.

kmdvs commented 2 weeks ago

OK, good :)