feat(app): a file diff opens as its own page with previous and next file chevrons
This commit is contained in:
@@ -294,7 +294,9 @@ void main() {
|
||||
|
||||
await tester.tap(find.byKey(const ValueKey('change-1-lib/feature.dart')));
|
||||
await tester.pumpAndSettle();
|
||||
expect(find.byType(Dialog), findsOneWidget);
|
||||
// A file opens on its own page, not a dialog.
|
||||
expect(find.byType(FileDiffPage), findsOneWidget);
|
||||
expect(find.byType(Dialog), findsNothing);
|
||||
expect(find.text('Rendered'), findsOneWidget);
|
||||
expect(find.text('Raw patch'), findsOneWidget);
|
||||
final rendered = tester
|
||||
|
||||
Reference in New Issue
Block a user