Auto-send validation code – & gt; auto-register – & gt; auto-login, if the process runs down automatically, unit test?
What unit test do you understand and what unit do you think is the unit?
It can be an integrated test, or an E2E test, but it is certainly not a unit test.
This is integration testing. Unit testing is simply a function-level test, and in unit testing, network requests are not normally made, and if necessary, mock services are used instead.
E2E or integration testing