wolfenrain / fluttium

Fluttium, the user flow testing tool for Flutter

Home Page:https://fluttium.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

AhmedAlyDev opened this issue · comments

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

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