Duplication of the test folder in the project after it is renamed
Describe the bug Duplication of the test folder in the project after it is renamed.
To Reproduce Steps to reproduce the behavior:
- Import a new project from Playwright
- Rename the main folder
- Add new tests
- Run the script adding the tags to these tests
- Observe the project structure
Expected behavior All new tests are added to the existing folder and placed in the corresponding sub-folders.
Screenshots
Desktop (please complete the following information):
- OS: MacOS
- Browser: Chrome
- Browser Version 124.0.6367.119
- Application: production
Additional context Each duplicated folder contains a different set of tests and sub-folders, but they can be duplicated.
@DavertMik should be have some "move" mode for check-tests that will instruct to move already existed test cases to new locations? what do you think?
or we need some kind of "avoid duplication strategy"
We can think on that However, as of now we can just prefer the file path when importing We already do that for files but we also need to do that for folders
related to https://github.com/testomatio/safe-security-issues/issues/17
@DavertMik the issue can be reproduced on our example project and [email protected]
https://github.com/user-attachments/assets/c798c9d2-4ac5-49d9-84e7-78e715ddd35c
There were some fixes on this issue previously
Please retest
@TetianaKhomenko Also video is not complete so I don't see any duplication