You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've only tested on iOS and Android simulator, but in both cases write text would only write one character, this was using the example provided by Fluttium as well.
The way I was able to work around this for now was to duplicate the action and write the whole text in one go instead of letter by letter, but a better solution should be found.
@overrideFuture<bool> execute(Tester tester) async {
TextInput.setInputControl(_textInputController);
tester.emitPlatformMessage(
SystemChannels.textInput.name,
SystemChannels.textInput.codec.encodeMethodCall(
constMethodCall('TextInputClient.requestExistingInputState'),
),
);
TextInput.restorePlatformInputControl();
// Temporary workaround, enter whole text instead of character by characterawait_enterText(tester, text);
await tester.pumpAndSettle();
// for (final char in text.split('')) {// await _enterText(tester, char);// await tester.pumpAndSettle();// }returntrue;
}
The text was updated successfully, but these errors were encountered:
I talked to the developer by discord about this. Is a known issue that they are not going to fix soon.
I would recommend you use another approach.
I used patrol once and it's great 😄
I talked to the developer by discord about this. Is a known issue that they are not going to fix soon. I would recommend you use another approach. I used patrol once and it's great 😄
I've only tested on iOS and Android simulator, but in both cases write text would only write one character, this was using the example provided by Fluttium as well.
The way I was able to work around this for now was to duplicate the action and write the whole text in one go instead of letter by letter, but a better solution should be found.
The text was updated successfully, but these errors were encountered: