Tests added by merge from a branch, not considered in the test counter
Tests added by merge from a branch, not considered in the test counter A clear and concise description of what the bug is.
To Reproduce
- Create new branche
- Add tests
- Merge branch into main
Expected behavior The counter shows the number of tests, including merged
Screenshots
I can't fix this on frontend because we reload page after merge. I think it's backend issue
@YanaBaranova0909 please repeat the test, as it works for me on the beta side
@Fro0z1k issue is still present.
When merging a branch into a Main branch that has already been modified (i.e., is not 'clean'), test counters (e.g. '2 tests') do not update immediately — they stay at 0 tests, even though the tests are present and visible. The counters only update if the user performs any manual change in Main (e.g., add/delete/rename test or suite).
https://github.com/user-attachments/assets/01698a66-9537-49a4-b5f0-20883fa1abc1
Please take a look, after approximately 1 minute after merge, the counter is not updated automatically, only when make any actions (e.g. click on tests/suites)
https://github.com/user-attachments/assets/9b5b655d-b541-4297-ba91-242b39dd0dfe
counters will updated after make any actions (e.g. click on tests/suites)
https://github.com/testomatio/testomatio/pull/6267
@Fro0z1k Retested and this behavior is still present. We should think how to improve it.
- 'counters will be updated after make any actions (e.g. click on tests/suites)';
- counters will be updated after reload a page;
https://github.com/user-attachments/assets/a18b06cd-54fc-4409-85f9-a3857e3690dc
send only counters via websockets