nycmeshnet / meshdb

A convenient, stable, and sane database for tracking Members and Nodes for use with robots and humans
https://db.mesh.nycmesh.net
MIT License
8 stars 13 forks source link

Investigate Admin Panel tests #217

Open WillNilges opened 6 months ago

WillNilges commented 6 months ago

We need something that will let us test the AdminUI itself. #215 fixes a bug that is difficult (if not impossible) to catch in our current testing setup because it has to do with the templates. There was a problem with one of the templates causing reverse FK fields to be blanked out on the building and member change routes.

https://www.selenium.dev/selenium-ide/ might be a decent candidate.

Andrew-Dickinson commented 6 months ago

Selenium is powerful but very heavy (bundles chromium). We only need it if we want to run the javascript, which on the admin page doesn't do very much. For just asserting things about the generated HTML responses, using beautifulsoup should be much easer to do

WillNilges commented 2 weeks ago

we could use datadog for this <3