CodeForPittsburgh / food-access-map-data

Data for the food access map
MIT License
8 stars 18 forks source link

Look into implementing Selenium for frontend testing #192

Closed maxachis closed 2 years ago

maxachis commented 2 years ago

Looked into it. Very easy to use. And potentially a good first issue for someone to add additional test cases.

Should name classes to give nice handles -- looking for unique ID's in underlying html rather than precise elements.

(A) Add .side file to the Github, in a "test-related things" directory.

Could potentially automate using python.

maxachis commented 2 years ago

Selenium .side file added to "tests" Folder.

maxachis commented 2 years ago

This .side file could be useful as well for documenting issues. If we can add a test to Selenium indicating what we expect, it should make it easier to replicate and thus debug issues.

maxachis commented 2 years ago

I think we can close this issue once we have some documentation establishing how this works and how to use it.

I've set up a branch here that can be used for modifying the README.

maxachis commented 2 years ago

Added Readme! If it looks good, I think it's ready to be merged and this issue closed.

https://github.com/CodeForPittsburgh/food-access-map-data/pull/202

maxachis commented 2 years ago

Branch merged and issue can be closed!