feat(app): the run Diagnostic sits in a collapsible

This commit is contained in:
2026-10-23 18:28:15 +01:00
parent 221deeab8d
commit f04442c546
2 changed files with 42 additions and 50 deletions
@@ -145,6 +145,13 @@ void main() {
expect(find.text(finished!), findsOneWidget);
expect(find.text('2m 5s'), findsOneWidget);
expect(find.text('run 12'), findsOneWidget);
// The Diagnostic starts collapsed under its label.
expect(find.text('Traceback: boom'), findsNothing);
final diagnostic = find.text('Diagnostic');
await tester.ensureVisible(diagnostic);
await tester.pumpAndSettle();
await tester.tap(diagnostic);
await tester.pumpAndSettle();
expect(find.text('Traceback: boom'), findsOneWidget);
// The web run detail has no usage block, so no metrics tile is drawn.