Frontend or UI testing involves validation of UI components like forms, interactions, user-events, unit testing, end to end integration testing, we also need to test authentication flow. QA writes test cases and validates them, if something is not as per expectations, they can raise bugs and defects.