appium / appium-flutter-driver

Appium Flutter Driver is a test automation tool for Flutter apps on multiple platforms/OSes. Appium Flutter Driver is part of the Appium mobile test automation tool maintained by community
MIT License
463 stars 184 forks source link

send_text_input_action - Implementation #514

Open 5v1988 opened 1 year ago

5v1988 commented 1 year ago

Hello guys, noticed that we don't have implementation for send_text_input_action yet, and since this being good feature to have, trying to understand as to how this can be handled currently?

On the side note, not having deserialisation on flutter_driver affects our implementation? https://github.com/flutter/flutter/blob/40a9d3f1db9a4c34a6f67e70637e4d4cef73c58c/packages/flutter_driver/lib/src/common/deserialization_factory.dart

Thank you!

KazuCocoa commented 1 year ago

Possibly yes.

https://api.flutter.dev/flutter/flutter_driver/SendTextInputAction-class.html

5v1988 commented 1 year ago

thanks, created this PR https://github.com/flutter/flutter/pull/131776 on Flutter repo so we can implement the change later here.

KazuCocoa commented 4 months ago

send_text_input_action was added. So we could implement this. https://github.com/flutter/flutter/pull/139197

https://github.com/flutter/flutter/blob/master/packages/flutter_driver/lib/src/common/deserialization_factory.dart#L48