Harvey Zhang
-
Within a Github action that runs whenever code is pushed I chose this because if the tests run whenever code is pushed, then we can catch bugs early before the broken code gets merged.
-
No, I would not use an end-to-end test since it is better for testing the full user flow, like clicking buttons and checking if the website updates correctly. Unit test is better for single test.
-
Navigation mode checks the page while it is loading, so it gives info about the full page load and performance. Snapshot mode checks the page in its current state after it has already loaded, so it is more useful for checking things like accessibility on the current page.
-
Three things we could improve on the CSE 110 shop site are:
- Fix the broken product images so the products actually load.
- Add better alt text for the product images.
- Add a better page description or metadata.