fsprojects / Canopy.Mobile

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

Many updates to make it more like canopy's dsl #12

Closed lefthandedgoat closed 7 years ago

lefthandedgoat commented 7 years ago

Remove the sleeps in click so that we can push reliability into the right places (never had any reliability problems) Refactor away from a DU for selectors and instead go with strings that are converted to Selenium.By which is what selenium uses to get stuff and is 'universal' and makes thing more extensible. Added some assertions

Look and feel of the DSL is more more like canopy now.

Set a pattern for adding more assertsion like != and notDisplayed etc

forki commented 7 years ago

image

but we will solve this...

lefthandedgoat commented 7 years ago

Hm can you try with the emulator loaded? And do you have Intel HAXM isntalled (it makes things fast).

I am unsure if its related to how fast the app is loading and the emulator running or something else.

forki commented 7 years ago

Yes usually things work when the emulator is started Mano. But that does not help with CI

lefthandedgoat commented 7 years ago

Ok there is probably some thing you can key off of that tells you everything is loaded properly. Just gotta figure out what it is

forki commented 7 years ago

I assume it's at the end of a test. Maybe we need to wait until the app is shut down.