I'm starting to do e2e (end-to-end) testing, specifically on Vuejs projects with Spectron and Nightwatch .
This question will have no code, because my doubt in this case is not with them, I am able to develop them theoretically well.
My question is for those who have more knowledge and experience testing on the front end to better inform the following questions:
I searched some sites, and asked several people, and the information I got from them was very different from one another.
Some say that testing on the front end should cover only the most important part of the system, such as in the case of an e-commerce, there should only be automated testing on the front end to make a purchase on the site , and the tests should only cover the "happy paths".For those who have an idea about the subject, opinion or knowledge, please be very welcome.
OBS: If this is not the place for this type of question, you can tell us in the comments that I delete it without any problems. Thank you.