Remove obsolete Cupertino fixture coverage

Keep the shared UI primitive tests focused on the app's Material-only behavior and remove alternate-host fixtures that no longer represent supported rendering.
This commit is contained in:
2026-11-11 20:48:02 +00:00
parent 86a8e11438
commit c88a9e8ce8
8 changed files with 111 additions and 192 deletions
@@ -1,4 +1,3 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pipelines_app/features/runs/ui/run_path_mini.dart';
@@ -42,7 +41,10 @@ void main() {
.whereType<Color>()
.map((color) => color.toARGB32())
.toList();
expect(colors, contains(CupertinoColors.systemGreen.color.toARGB32()));
expect(colors, contains(CupertinoColors.systemRed.color.toARGB32()));
final scheme = Theme.of(
tester.element(find.byKey(const Key('run-path-mini'))),
).colorScheme;
expect(colors, contains(scheme.tertiary.toARGB32()));
expect(colors, contains(scheme.error.toARGB32()));
});
}