-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
Update Page object tools to XCUIT mode #545
Conversation
- new annotations were provided - supporting tools were actualized
|
||
@Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD, ElementType.TYPE}) | ||
@Repeatable(iOSXcuitFindBySet.class) | ||
public @interface iOSXcuitFindBy { |
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.
Can this be iOSXCUITFindBy
please?
import java.lang.annotation.Target; | ||
|
||
@Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD, ElementType.TYPE}) | ||
public @interface iOSXcuitFindBySet { |
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.
Here too iOSXCUITFindBySet
?
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.
Just naming conventions rest looks good to me.
* @return an array of {@link io.appium.java_client.pagefactory.iOSXcuitFindBy} which builds a sequence of | ||
* the chained searching for elements or a set of possible locators | ||
*/ | ||
iOSXcuitFindBy[] value(); |
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.
Here too.
…ndBy Addition to #545
Change list
io.appium.java_client.pagefactory.iOSXcuitFindBy
was providedTypes of changes
Details
It was done because users still can need to support old automation (for iOS < 10) and xCuit mode for the same test scope.