Created attachment 890407 [details] [xmlrpc]Use TestRun.filter_count to filter testrun, the satistics result is wrong in the following case. Description of problem: as subject. Version-Release number of selected component (if applicable): v3.8.7-4 on devel server How reproducible: 100% Steps to Reproduce: 1.There is a run of which has case with Manual type. 2.call TestRun.filter_count({'run_id':72280}). 3.call TestRun.filter_count({'run_id':72280, 'plan__case__is_automated': False}). Actual results: For step 2: the result is 1. For step 3: the result is 7. Expected results: For step 2: the result is 1. For step 3: the result is 1. Additional info:
the above issue also happened to TestRun.filter method.
waiting for deploying
move to 3.8.8
the above issue also happened to TestPlan.filter method.
TestPlan.filter TestPlan.filter_count TestRun.filter TestRun.filter_count TestCase.filter TestCase.filter_count
Verify this bug on v3.8.8-1 on devel server.--->Pass Verify steps are same as description.