Chat composer pops in with the bar when a chat opens
This commit is contained in:
@@ -5,6 +5,7 @@ import 'package:pipelines_app/features/chat/conversation/chat_stop_icon.dart';
|
||||
import 'package:pipelines_app/features/chat/conversation/chat_composer_bar.dart';
|
||||
import 'package:pipelines_app/features/chat/conversation/chat_composer_controller.dart';
|
||||
import 'package:pipelines_app/features/chat/conversation/chat_draft_store.dart';
|
||||
import 'package:pipelines_app/ui/motion/motion.dart';
|
||||
|
||||
import 'chat_composer_bar_fixtures.dart';
|
||||
|
||||
@@ -148,6 +149,8 @@ void main() {
|
||||
home: Scaffold(body: Center(child: bar)),
|
||||
),
|
||||
);
|
||||
// The composer pops in first; Stop's target is measured once it has.
|
||||
await tester.pump(Motion.tabEntranceDuration);
|
||||
final stop = find.byKey(const Key('chat-composer-stop'));
|
||||
final target = tester.getRect(stop);
|
||||
await tester.pump(const Duration(seconds: 3));
|
||||
|
||||
Reference in New Issue
Block a user