feat(app): run detail leads with the web's status kicker
This commit is contained in:
@@ -147,8 +147,13 @@ void main() {
|
||||
expect(tester.takeException(), isNull);
|
||||
expect(find.text('Nightly build'), findsOneWidget);
|
||||
expect(find.textContaining('Original prompt'), findsOneWidget);
|
||||
// Both hosts lead with the web's status kicker above the title.
|
||||
expect(find.byKey(const Key('run-status-kicker')), findsOneWidget);
|
||||
expect(
|
||||
tester.getTopLeft(find.byKey(const Key('run-status-kicker'))).dy,
|
||||
lessThan(tester.getTopLeft(find.text('Nightly build')).dy),
|
||||
);
|
||||
if (platform == AppPlatform.material) {
|
||||
expect(find.byType(Chip), findsOneWidget);
|
||||
expect(
|
||||
tester.widget(find.byKey(const ValueKey('run-detail-summary-input'))),
|
||||
isA<ExpansionTile>(),
|
||||
|
||||
Reference in New Issue
Block a user