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

Expand touch options API to accept coordinates as Point#997

Merged
saikrishna321 merged 1 commit intoappium:masterappium/java-client:masterfrom
valfirst:use-coordinates-as-pointvalfirst/java-client:use-coordinates-as-pointCopy head branch name to clipboard
Aug 24, 2018
Merged

Expand touch options API to accept coordinates as Point#997
saikrishna321 merged 1 commit intoappium:masterappium/java-client:masterfrom
valfirst:use-coordinates-as-pointvalfirst/java-client:use-coordinates-as-pointCopy head branch name to clipboard

Conversation

@valfirst
Copy link
Collaborator

Change list

Expand touch options API to accept coordinates as org.openqa.selenium.Point

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)

public void tapOptionsShouldBuildProperly() {
final Map<String, Object> actualOpts = tapOptions()
.withPosition(point(0, 0))
.withPosition(point(new Point(0, 0)))
Copy link
Contributor

@mykola-mokhnach mykola-mokhnach Aug 13, 2018

Choose a reason for hiding this comment

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

so now both would be possible: point(0, 0) and point(new Point(0, 0)) ?

Copy link
Member

Choose a reason for hiding this comment

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

Yes both are possible now.

@saikrishna321 saikrishna321 merged commit 97ce87f into appium:master Aug 24, 2018
@valfirst valfirst deleted the use-coordinates-as-point branch July 7, 2019 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

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