Xablu / XabluUITest

Helpers for Xamarin.UITest provided by Xablu
http://xablu.com
MIT License
11 stars 7 forks source link

Wait for AppWebQuery Trait #5

Open c-lamont opened 7 years ago

c-lamont commented 7 years ago

At the moment Trait Query can only be of type AppQuery. It would be nice for the Trait to also wait for a query type of AppWebQuery.

In the Trait class we have

using Query = System.Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>;

The new property would be of type WebQuery

using WebQuery = System.Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery>;

MarcBruins commented 7 years ago

It would be nice if we can make the implementation of Trait independent of the Query type. We will need to figure out how to do this, in the end it would be nice if it could support all Query types(https://developer.xamarin.com/api/namespace/Xamarin.UITest.Queries/) maybe @mvanbeusekom or @ruudkobes has an idea on how to do this.