wolfenrain / fluttium

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

fix: Fatal driver exception occurred: Unsupported operation: PressOn must have either text or offset #365

Closed ahmednfwela closed 10 months ago

ahmednfwela commented 10 months ago

Description

pressOn action doesn't work when you pass it an offset

Steps To Reproduce works:

- pressOn:
  text: "hello"

doesn't work:

- pressOn:
  offset: [10, 150]

and raises:

Fatal driver exception occurred: Unsupported operation: PressOn must have either text or offset 

Env

fluttium_cli: 0.1.2.

ahmednfwela commented 10 months ago

Fixed by indenting properly https://github.com/wolfenrain/fluttium/issues/366#issuecomment-1818480917