I have a automation setup where I have my automation scripts integrated with GIT. When the new code is committed, the script will trigger automatically and run the regression.
Assume if the code change happens only in login page and I need to validate that only not the entire automation scenario. If the module is integrated then I don't need this approach. But if the code change happens for only individual model with the setup that I have do I can validate that change alone?
If yes, what is the advantage on validating that change alone instead validating the entire scripts?