Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update Page object tools to XCUIT mode#545

Merged
TikhomirovSergey merged 2 commits intoappium:masterappium/java-client:masterfrom
TikhomirovSergey:xcuitFindByCopy head branch name to clipboard
Dec 27, 2016
Merged

Update Page object tools to XCUIT mode#545
TikhomirovSergey merged 2 commits intoappium:masterappium/java-client:masterfrom
TikhomirovSergey:xcuitFindByCopy head branch name to clipboard

Conversation

@TikhomirovSergey
Copy link
Contributor

Change list

  • new annotation io.appium.java_client.pagefactory.iOSXcuitFindBy was provided
  • supporting tools were actualized

Types of changes

  • No changes in production code.
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Details

It was done because users still can need to support old automation (for iOS < 10) and xCuit mode for the same test scope.

- new annotations were provided
- supporting tools were actualized

@Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD, ElementType.TYPE})
@Repeatable(iOSXcuitFindBySet.class)
public @interface iOSXcuitFindBy {
Copy link
Member

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 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here too iOSXCUITFindBySet ?

Copy link
Member

@SrinivasanTarget SrinivasanTarget left a 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();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here too.

@TikhomirovSergey TikhomirovSergey merged commit 028dbd6 into appium:master Dec 27, 2016
TikhomirovSergey added a commit that referenced this pull request Dec 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.