wolfenrain / fluttium

Fluttium, the user flow testing tool for Flutter
https://fluttium.dev
MIT License
361 stars 10 forks source link

fix: clearText action is not working as expected without an int value #369

Open AhmedAlyDev opened 9 months ago

AhmedAlyDev commented 9 months ago

Description

clearText action is expecting a value of type 'int', but got one of type 'Null', while docs say that it's default is to clear all chars.

Steps To Reproduce

  1. create a flow
  2. press On a non-empty text field
  3. clearText: without a value "as docs say!"
  4. See error "Expected a value of type 'int', but got one of type 'Null'"

Expected Behavior flow works smoothly.

Screenshots from yaml file: image error: image

Additional context docs: image

wolfenrain commented 9 months ago

Hmm seems for some reason the default value is not being used, will have to look into why that is happening.