fix(app): the full-screen run graph has no maximise button

This commit is contained in:
2026-10-23 19:33:47 +01:00
parent 89da394a90
commit 3099dbc5aa
3 changed files with 25 additions and 7 deletions
@@ -112,4 +112,14 @@ void main() {
},
);
}
testWidgets('the full-screen graph offers no maximise button', (
tester,
) async {
await pumpRunDetail(tester, RunDetailTestPlatform.material);
await openRunDetailTab(tester, RunDetailTab.graph);
expect(find.byKey(const Key('run-detail-graph')), findsOneWidget);
expect(find.byKey(const Key('graph-expand')), findsNothing);
expect(find.byKey(const Key('graph-fit')), findsOneWidget);
});
}