Skip to content

Commit df9a1de

Browse files
committed
compose test: Set up compose box using tester.enterText
Signed-off-by: Zixuan James Li <[email protected]>
1 parent 063ef6a commit df9a1de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/widgets/compose_box_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ void main() {
474474
// (When we check that the send button looks disabled, it should be because
475475
// the file is uploading, not a pre-existing reason.)
476476
await enterTopic(tester, narrow: narrow, topic: 'some topic');
477-
controller!.content.value = const TextEditingValue(text: 'see image: ');
477+
await tester.enterText(contentInputFinder, 'see image: ');
478478
await tester.pump();
479479
}
480480

0 commit comments

Comments
 (0)