Skip to content

Conversation

SrinivasanTarget
Copy link
Member

@SrinivasanTarget SrinivasanTarget commented Nov 16, 2016

Change list

Addition to #513. IOSSwipeGestureTest is updated.

Types of changes

What types of changes are you proposing/introducing to Java client?
Put an x in the boxes that apply

  • 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

@TikhomirovSergey FYI

SrinivasanTarget and others added 16 commits August 12, 2016 00:13
- new interfaces were added - deprecated API
- new methods were added to MultiTouchAction - AppiumDriver methods which perform multiple touch actions were marked as Deprecated - Constructors of TouchAction and MultiTouchAction were changed. Now it accepts any instance that can perform touch action and multiple touch actions.
- the new interface CreatesSwipeAction was added. - the reversion of last changes of TouchableElement. - the `swipe` is deprecated method.
Forgot to commit this change
- CreatesSwipeAction API was implemented - SwipeElementDirection was redesigned - constructors of TouchAction and MultiTouchAction were improved.
- IOSSwipeGestureTest was added
- the swiping combined with the tapping.
Fixed Codacy errors Fixed Codacy errors
@TikhomirovSergey
Copy link
Contributor

@SrinivasanTarget
Everything is ok.
Could you please add a test like that
https://gist.github.com/TikhomirovSergey/39df3c0b67e08e3447d200cc55d26d05

for iOS?

@SrinivasanTarget
Copy link
Member Author

…ikhomirovSergey-SrinivasanTarget-TouchActionSplitting
@SrinivasanTarget
Copy link
Member Author

@TikhomirovSergey Will complete this tomorrow. Sorry for the delay.

@Override
public TouchAction swipe(int startX, int startY, int endX, int endY, int duration) {
int xOffset = endX - startX;
int yOffset = endY - startX;
Copy link
Contributor

Choose a reason for hiding this comment

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

There is the bug

Fixed tests Fixed tests Fixed tests
@SrinivasanTarget
Copy link
Member Author

@TikhomirovSergey Thanks. All tests passed now.

@TikhomirovSergey TikhomirovSergey merged commit 7042073 into appium:master Nov 24, 2016
@SrinivasanTarget SrinivasanTarget deleted the TikhomirovSergey-SrinivasanTarget-TouchActionSplitting branch February 25, 2017 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants