"Front-end Unit Testing": To test the client side validations from front-end UI tests but in isolation(hence calling unit tests). By isolation mean, testing static HTML pages to avoid unnecessary page navigations. For example, to test validations on page D, one may need to navigate pages A, B, and C but the test is all about Page D validations so if there is a way where one can directly access and test the Page D and simplify and speed up the UI tests.
Problem Statement: How to perform "front-end unit testing" of Single Page applications(angular/angularJS) using JavaScript to avoid performing negative scenarios/error message verifications/client side validations using UI tests.
Required help: It would be great if somebody who is using it practically in a project, can explain with a small prototype example.
Disclaimer: I am well aware and practicing unit testing & UI testing separately but the question is about whether 2 can be combined for improving feedback loop by simplifying UI tests and significantly reducing execution time and increasing tests reliability.