app icon indicating copy to clipboard operation
app copied to clipboard

Tests added by merge from a branch, not considered in the test counter

Open hudokormovae opened this issue 1 year ago • 8 comments

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

  1. Create new branche
  2. Add tests
  3. Merge branch into main

Expected behavior The counter shows the number of tests, including merged

Screenshots image

hudokormovae avatar Jul 08 '24 09:07 hudokormovae

I can't fix this on frontend because we reload page after merge. I think it's backend issue

littlefrontender avatar Jul 23 '24 11:07 littlefrontender

@YanaBaranova0909 please repeat the test, as it works for me on the beta side

Fro0z1k avatar Jun 30 '25 08:06 Fro0z1k

@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

YanaBaranova0909 avatar Jun 30 '25 11:06 YanaBaranova0909

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

YanaBaranova0909 avatar Jul 03 '25 09:07 YanaBaranova0909

counters will updated after make any actions (e.g. click on tests/suites)

Fro0z1k avatar Jul 04 '25 10:07 Fro0z1k

https://github.com/testomatio/testomatio/pull/6267

TetianaKhomenko avatar Jul 07 '25 12:07 TetianaKhomenko

@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

YanaBaranova0909 avatar Jul 08 '25 08:07 YanaBaranova0909

send only counters via websockets

TetianaKhomenko avatar Jul 09 '25 12:07 TetianaKhomenko