Test that were moved to a different folder is still showing up in a test run for the previous folder
Describe the bug When we created a test in a folder and then moved that test over to another folder. If we create a test run for the first folder only, the test still shows up on the test run.
To Reproduce Steps to reproduce the behavior:
- Create a project and folder
- Add some tests
- Create a new folder with the same level at the first folder
- Move some of the tests from the first folder to the second folder
- Create a test run for the first folder
Expected behavior
- Any moved tests should not be listed in the test run.
Screenshots
This image shows that these tests belong under the "Not Yet Implemented" folder
This image shows that the Tests folder does not contain the test above
This image shows that some of these tests are showing up on the test run
Desktop (please complete the following information): OS: macOS Browser: Chrome Browser Version 112.0.5615.137 Application: Production
Additional context N/A
related to
https://github.com/testomatio/app/issues/720 and https://github.com/testomatio/app/issues/718
@panhiay sorry, we tried to fix this issue but unfortunately, we won't be able to achieve the behavior you want after the Run is created we don't track if it matches initial test plan or not we create a fixed set of tests and that makes a Run and it is as it is on the moment it is created so we won't be able to track which tests were moved to which suite after it was created
@panhiay @DavertMik I suggest keeping this issue in backlog since it reproduces mostly after Branch merge
The issue was re-tested and verified as fixed