So we are getting many tests under our subfolder “tests”. I would like to start adding subfolders under the tests folder to further classify the tests for one functionality or what server the test hits. When I try to add a subfolder under tests, basically package uitest.tests; goes red. How do I successfully add subfolders?
If you create a test directly in the subfolder, you will get no errors, because the package declaration is pointing out that subfolder. if you move a test file from one folder to another, the package will go red as you said, because it is now pointing to a different location.
All you need to do is to change the package declaration eather by clicking the quick-fix icon, or by manually adjusting the path