fix(app): the full-screen run graph has no maximise button
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user