In unit testing, individual units of source code get tested. But when you use Puppeteer or Selenium (both are headless browsers) you are doing black-box testing, in which you don't interact with the internal of a project.
What is the proper name for these types of tests? Typically a test would be something like the following:
- Open the login page
- Find username and password edit boxes
- Types the info
- Find the submit button and press it
- Assert that a welcome message is displayed
Does it only called black-box testing or user interface testing or there is a more proper name for it?