@@ -662,17 +662,19 @@ def test_test_results_aggregates(self) -> None:
662662 )
663663 res = self .fetch_test_analytics (
664664 repo .name ,
665- """testResultsAggregates { totalDuration, slowestTestsDuration, totalFails, totalSkips, totalDurationPercentChange, slowestTestsDurationPercentChange, totalFailsPercentChange, totalSkipsPercentChange }""" ,
665+ """testResultsAggregates { totalDuration, slowestTestsDuration, totalFails, totalSkips, totalSlowTests, totalDurationPercentChange, slowestTestsDurationPercentChange, totalFailsPercentChange, totalSkipsPercentChange, totalSlowTestsPercentChange }""" ,
666666 )
667667 assert res ["testResultsAggregates" ] == {
668668 "totalDuration" : 570.0 ,
669- "slowestTestsDuration" : 29.0 ,
670- "totalFails" : 10 ,
671- "totalSkips" : 5 ,
672669 "totalDurationPercentChange" : - 63.1068 ,
670+ "slowestTestsDuration" : 29.0 ,
673671 "slowestTestsDurationPercentChange" : - 50.84746 ,
672+ "totalFails" : 10 ,
674673 "totalFailsPercentChange" : 100.0 ,
674+ "totalSkips" : 5 ,
675675 "totalSkipsPercentChange" : - 50.0 ,
676+ "totalSlowTests" : 1 ,
677+ "totalSlowTestsPercentChange" : 0.0 ,
676678 }
677679
678680 def test_test_results_aggregates_no_history (self ) -> None :
@@ -696,18 +698,20 @@ def test_test_results_aggregates_no_history(self) -> None:
696698
697699 res = self .fetch_test_analytics (
698700 repo .name ,
699- """testResultsAggregates { totalDuration, slowestTestsDuration, totalFails, totalSkips, totalDurationPercentChange, slowestTestsDurationPercentChange, totalFailsPercentChange, totalSkipsPercentChange }""" ,
701+ """testResultsAggregates { totalDuration, slowestTestsDuration, totalFails, totalSkips, totalSlowTests, totalDurationPercentChange, slowestTestsDurationPercentChange, totalFailsPercentChange, totalSkipsPercentChange, totalSlowTestsPercentChange }""" ,
700702 )
701703
702704 assert res ["testResultsAggregates" ] == {
703705 "totalDuration" : 570.0 ,
704- "slowestTestsDuration" : 29.0 ,
705- "totalFails" : 10 ,
706- "totalSkips" : 5 ,
707706 "totalDurationPercentChange" : None ,
707+ "slowestTestsDuration" : 29.0 ,
708708 "slowestTestsDurationPercentChange" : None ,
709+ "totalFails" : 10 ,
709710 "totalFailsPercentChange" : None ,
711+ "totalSkips" : 5 ,
710712 "totalSkipsPercentChange" : None ,
713+ "totalSlowTests" : 1 ,
714+ "totalSlowTestsPercentChange" : None ,
711715 }
712716
713717 def test_flake_aggregates (self ) -> None :
0 commit comments