Skip to content

The addition #458. #456 FIX #454 FIX - #513

Closed
TikhomirovSergey wants to merge 15 commits into
appium:masterfrom
TikhomirovSergey:SrinivasanTarget-TouchActionSplitting
Closed

The addition #458. #456 FIX #454 FIX#513
TikhomirovSergey wants to merge 15 commits into
appium:masterfrom
TikhomirovSergey:SrinivasanTarget-TouchActionSplitting

Conversation

@TikhomirovSergey

@TikhomirovSergeyTikhomirovSergey commented Nov 12, 2016

Copy link
Copy Markdown
Contributor

Change list

The addition #458. #456FIX#454 FIX:

  • AppiumDriver is the non-abstract class now;
  • MobileElement is the non-abstract class now;
  • The list of methods which were marked deprecated and they are going to be removed;
    • AppiumDriver#swipe(int, int, int, int, int)
    • AppiumDriver#pinch(WebElement)
    • AppiumDriver#pinch(int, int)
    • AppiumDriver#zoom(WebElement)
    • AppiumDriver#zoom(int, int)
    • AppiumDriver#tap(int, WebElement, int)
    • AppiumDriver#tap(int, int, int, int)
    • AppiumDriver#swipe(int, int, int, int, int)
    • MobileElement#swipe(SwipeElementDirection, int)
    • MobileElement#swipe(SwipeElementDirection, int, int, int)
  • API redesign:
    • these interfaces were marked deprecated and they are going to be removed:
      • io.appium.java_client.DeviceActionShortcuts
      • io.appium.java_client.android.AndroidDeviceActionShortcuts
      • io.appium.java_client.ios.IOSDeviceActionShortcuts
    • instead following inerfaces were designed:
      • io.appium.java_client.HasDeviceTime
      • io.appium.java_client.HidesKeyboard
      • io.appium.java_client.HidesKeyboardWithKeyName
      • io.appium.java_client.PressesKeyCode
      • io.appium.java_client.ios.ShakesDevice
        That was done because Windows automation tools have some features that were considered as Android-specific and iOS-specific.
      • io.appium.java_client.CreatesSwipeAction
  • Redesign of TouchAction and MultiTouchAction
    • constructors were redesigned. There is no strict binding of AppiumDriver and TouchAction /MultiTouchAction. They can pass any instance of a class that implements PerformsTouchActions.
    • deprecated methods of AppiumDriver/MobileElement were moved to TouchAction/MultiTouchAction.
  • io.appium.java_client.android.AndroidTouchAction and io.appium.java_client.ios.IOSTouchAction were added. They create the swiping gesture. Both classes implement the new io.appium.java_client.CreatesSwipeAction API.

Types of changes

  • 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)

SrinivasanTargetand others added 14 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.

@SrinivasanTargetSrinivasanTarget left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

@SrinivasanTargetSrinivasanTarget mentioned this pull request Nov 16, 2016
3 tasks
TikhomirovSergey pushed a commit that referenced this pull request Nov 24, 2016
* Splitting of TouchActions
* Codacy Fixes
* #456FIX#454 FIX: API redesign.
- new interfaces were added
- deprecated API
* #456FIX#454 FIX: MultiTouchAction refactoring
- 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.
* #456FIX#454 FIX: New CreatesSwipeAction API
- the new interface CreatesSwipeAction was added.
- the reversion of last changes of TouchableElement.
- the `swipe` is deprecated method.
* #456FIX#454 FIX:
Forgot to commit this change
* #456FIX#454 FIX: CreatesSwipeAction API was implemented
- CreatesSwipeAction API was implemented
- SwipeElementDirection was redesigned
- constructors of TouchAction and MultiTouchAction were improved.
* #456FIX#454 FIX: AndroidTouchActions were covered with tests.
- also code issues were got fixed
* #456FIX#454 FIX: Refactoring of MobileElement
* #456FIX#454 FIX: IOSGesturesTest was redesigned.
- IOSSwipeGestureTest was added
* #456FIX#454 FIX: Checkstyle issues were got fixed
* #456FIX#454 FIX: The additional test on Android.
- the swiping combined with the tapping.
* Issues that found by codecy were got fixed
* The addition #513
Fixed Codacy errors
Fixed Codacy errors
* Fixed tests
Fixed tests
Fixed tests
Fixed tests
Sign up for freeto 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.

To make AppiumDriver the non-abstract class

2 participants

@TikhomirovSergey@SrinivasanTarget