When to carry out e2e tests in your application?

2

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:

  • When test the front end in a module of your application?
  • Should the test cover all existing cases in the module being tested? How, for example, click all the buttons on the screen, and perform all the possible flows that the screen provides?
  • 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.

        
    asked by anonymous 29.04.2018 / 15:36

    0 answers