Merge branch 'main' into pipelines/run-20261111-1951-material-cleanup-shared-ui-primitives-65fb
# Conflicts: # app/test/features/runs/ui/run_path_mini_test.dart
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:pipelines_app/features/runs/ui/run_path_mini.dart';
|
||||
import 'package:pipelines_app/ui/status/run_status_icon.dart';
|
||||
|
||||
void main() {
|
||||
final run = {
|
||||
@@ -44,7 +45,13 @@ void main() {
|
||||
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()));
|
||||
expect(
|
||||
colors,
|
||||
contains(runStatusColor('succeeded', scheme).toARGB32()),
|
||||
);
|
||||
expect(
|
||||
colors,
|
||||
contains(runStatusColor('failed', scheme).toARGB32()),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user