Unit tests are cool, but end to end testing help as well to find bugs. Cypress is really cool.
After having the tests set, it's possible to set them to run in git action, and on failure to upload the video of failing test to the action artifact. Also maybe emailing a slack channel about the failure with link to action.