From 4173881bbfbdefacd4b20a22a3645c99c326995e Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Fri, 19 Jun 2020 12:41:29 -0700 Subject: [PATCH] Fix the paste button label in the new version of the filtered text pasting test (#59865) --- packages/flutter/test/material/text_field_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/test/material/text_field_test.dart b/packages/flutter/test/material/text_field_test.dart index affc8e1c67c..22077b26e31 100644 --- a/packages/flutter/test/material/text_field_test.dart +++ b/packages/flutter/test/material/text_field_test.dart @@ -3282,7 +3282,7 @@ void main() { await tester.pump(const Duration(milliseconds: 200)); // skip past the frame where the opacity is zero Clipboard.setData(const ClipboardData(text: '一4二\n5三6')); - await tester.tap(find.text('PASTE')); + await tester.tap(find.text('Paste')); await tester.pump(); // Puts 456 before the 2 in 123. expect(textController.text, '145623');