fsprojects / Canopy.Mobile

Canopy testing framework for mobile apps
https://fsprojects.github.io/Canopy.Mobile/
MIT License
14 stars 12 forks source link

Propose misspelled selectors if a selection fails #19

Closed forki closed 7 years ago

forki commented 7 years ago

@lefthandedgoat can you please port the canopy code around levensthein? Thx

lefthandedgoat commented 7 years ago

I can do it I just need to figure out how to grab all of the existing elements so I can give suggestions. Will take some work.

forki commented 7 years ago

something like XPath //* might work?

2016-12-29 18:10 GMT+01:00 Chris Holt notifications@github.com:

I can do it I just need to figure out how to grab all of the existing elements so I can give suggestions. Will take some work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fsprojects/Canopy.Mobile/issues/19#issuecomment-269661144, or mute the thread https://github.com/notifications/unsubscribe-auth/AADgNDOnCa-z2sG3gmpV-HW8bjHqrN2Kks5rM-mTgaJpZM4LXrCb .

lefthandedgoat commented 7 years ago

Yep, but if we provide syntactic sugar for things like ID I will need to make it give good suggestions there too.

lefthandedgoat commented 7 years ago

I haven't forgotten about this and I will work on it today.