The internal functionality of the BaseIntegrationTest.enterText defaults to EditText. I'm currently using a CupertinoEditText and it is failing with the following message/stack.
I/flutter (11696): The following _CastError was thrown running a test:
I/flutter (11696): type 'CupertinoTextField' is not a subtype of type 'TextField' in type cast
I/flutter (11696):
I/flutter (11696): When the exception was thrown, this was the stack:
I/flutter (11696): #0 BaseIntegrationTest.enterText (package:integration_test_helper/integration_test_helper.dart:135:56)
I/flutter (11696): <asynchronous suspension>
I/flutter (11696): #1 ScreenIntegrationTestGroups.testConcreteNumberFeature(app_feature_groups.dart:55:9)
I/flutter (11696): <asynchronous suspension>
I/flutter (11696): #2 ScreenIntegrationTestGroups.testEndToEndUsing (app_feature_groups.dart:37:9)
I/flutter (11696): <asynchronous suspension>
I/flutter (11696): #3 main.<anonymous closure> (app_features.dart:35:11)
I/flutter (11696): <asynchronous suspension>
I/flutter (11696): #4 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:170:15)
I/flutter (11696): <asynchronous suspension>
I/flutter (11696): #5 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:806:5)
I/flutter (11696): <asynchronous suspension>
The internal functionality of the BaseIntegrationTest.enterText defaults to EditText. I'm currently using a CupertinoEditText and it is failing with the following message/stack.