Tests are deleted if new .yaml is imported

Does anybody know how to solve this problem?
If I replace the .yaml file for collection with tests, the whole collection is replaced and tests disappear.

Hey @spinelly,

Welcome to the Postman community :rocket:

Are you able to provide an example of this happening or a screen recording?

It will help us to understand the issue more.

http://www.mediafire.com/file/q9bnmqzpwsg3eg3/Postman_problem.webm/file

Here is the screen capture. You see here that I have tests and update .yaml file (I do not copy but replace it) and all tests disappear.