I am just getting started with Protractor and inherited roughly 40 automated test cases. They are currently meant to run sequentially and are not organized or built to run independently. I am taking a course through Udemy that recommends organizing them within folders and running the folders based off of need (smoketest, regression, etc).
My concern is maintaining multiple versions of the same spec file. For example, if Login.spec.js exists in both the smoketest and regression folder, there will be two different versions of the same file that need to be maintained. Any recommendations or workflows that will help with this?