diff --git a/app/test/features/runs/ui/run_detail_behind_bar_test.dart b/app/test/features/runs/ui/run_detail_behind_bar_test.dart index b4908aa3..60c4eefa 100644 --- a/app/test/features/runs/ui/run_detail_behind_bar_test.dart +++ b/app/test/features/runs/ui/run_detail_behind_bar_test.dart @@ -21,7 +21,7 @@ void main() { ) .position; - for (final platform in RunDetailTestPlatform.values) { + for (final platform in const [RunDetailTestPlatform.material]) { testWidgets('${platform.name} run header floats under the bar and the ' 'tab scrolls behind both', (tester) async { await pumpRunDetail(tester, platform, size: const Size(390, 520)); diff --git a/app/test/features/runs/ui/run_detail_visit_test.dart b/app/test/features/runs/ui/run_detail_visit_test.dart index 872ea86c..00c8a016 100644 --- a/app/test/features/runs/ui/run_detail_visit_test.dart +++ b/app/test/features/runs/ui/run_detail_visit_test.dart @@ -9,7 +9,7 @@ import 'run_detail_graph_support.dart'; import 'run_detail_visit_support.dart'; void main() { - for (final platform in RunDetailTestPlatform.values) { + for (final platform in const [RunDetailTestPlatform.material]) { testWidgets('${platform.name} visit shows only its recorded facts', ( tester, ) async {