Open c-lamont opened 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.
At the moment
Trait
Query
can only be of typeAppQuery
. It would be nice for theTrait
to also wait for a query type ofAppWebQuery
.In the
Trait
class we haveusing 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>;