-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Testing] More Appium actions #25569
base: main
Are you sure you want to change the base?
Conversation
|
||
if (element is AppiumElement appiumElement) | ||
{ | ||
return new CommandResponse(appiumElement, CommandResponseResult.Success); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this for older Appium versions? This doesn't seem to check anything specific to displayed, does it? The same of the other ones in here: Enabled, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, in all our ui tests using Appium we must have access to the used driver. It a fallback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of small things!
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Description of Change
Added more UITest extension methods to identify the state of an element:
bool IsSelected(this IUIElement element);
bool IsDisplayed(this IUIElement element);
bool IsEnabled(this IUIElement element);