Skip to content

Commit

Permalink
Add registering text input
Browse files Browse the repository at this point in the history
  • Loading branch information
jBorkowska committed Feb 15, 2024
1 parent da6404a commit 29e2590
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,12 @@ class PatrolTester {
Duration? visibleTimeout,
Duration? settleTimeout,
}) {
if (!kIsWeb && Platform.isIOS && kReleaseMode) {
if (!kIsWeb) {
// Fix for enterText() not working in release mode on real iOS devices.
// See https://github.com/flutter/flutter/pull/89703
// Also a fix for enterText() not being able to interact with the same
// textfield 2 times in the same test.
// See https://github.com/flutter/flutter/issues/134604
tester.testTextInput.register();
}

Expand Down

0 comments on commit 29e2590

Please sign in to comment.