feat(app): a pasted or picked image shows a thumbnail in the chat composer
This commit is contained in:
@@ -121,6 +121,11 @@ void main() {
|
||||
|
||||
expect(_chips, findsOneWidget);
|
||||
expect(find.text('shot.png'), findsOneWidget);
|
||||
// A pasted image shows its picture, not only its name.
|
||||
expect(
|
||||
find.byKey(const ValueKey<String>('chat-composer-thumbnail-0')),
|
||||
findsOneWidget,
|
||||
);
|
||||
expect(fake.listens, 1);
|
||||
expect(fake.stops, 0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user