Skip to content

fix: appium touch perform #5035

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

Open
wants to merge 7 commits into
base: 3.x
Choose a base branch
from
Open

Conversation

kobenguyent
Copy link
Collaborator

Motivation/Description of the PR

Applicable helpers:

  • Playwright
  • Puppeteer
  • WebDriver
  • REST
  • FileHelper
  • Appium
  • TestCafe

Applicable plugins:

  • allure
  • autoDelay
  • autoLogin
  • customLocator
  • pauseOnFail
  • coverage
  • retryFailedStep
  • screenshotOnFail
  • selenoid
  • stepByStepReport
  • stepTimeout
  • wdio
  • subtitles

Type of change

  • 🔥 Breaking changes
  • 🚀 New functionality
  • 🐛 Bug fix
  • 🧹 Chore
  • 📋 Documentation changes/updates
  • ♨️ Hot fix
  • 🔨 Markdown files fix - not related to source code
  • 💅 Polish code

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

@kobenguyent
Copy link
Collaborator Author

@kobenguyent kobenguyent requested review from Copilot and thomashohn July 1, 2025 08:17
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the Appium helper to use W3C actions for touch interactions, updates the corresponding documentation and tests, and standardizes CI workflow YAML quoting and triggers.

  • Refactored touchPerform helper method to call browser.performActions and updated JSDoc/examples.
  • Tagged the touch-perform integration test with @quick.
  • Converted Appium docs to single-quote syntax, removed semicolons, and realigned example blocks.
  • Standardized quoting in CI workflows and adjusted the Appium Android workflow trigger.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/helper/Appium_test.js Added @quick tag to the touchPerform test title
lib/helper/Appium.js Switched touchPerform from touchPerform to performActions
docs/helpers/Appium.md Updated touchPerform docs, code examples switched to single quotes
docs/plugins.md Removed stray list marker
.github/workflows/check.yml Standardized YAML quoting
.github/workflows/appium_Android.yml Broadened branch trigger
Comments suppressed due to low confidence (4)

.github/workflows/appium_Android.yml:7

  • Using the wildcard '**' in branch triggers will run this workflow on every branch. Consider narrowing it to intended branches to reduce unnecessary CI runs.
      - '**'

test/helper/Appium_test.js:330

  • Verify that the test suite is configured to recognize the @quick tag; otherwise this annotation may be ignored by the runner.
    it('should react on touchPerform action @quick', async () => {

docs/helpers/Appium.md:760

  • [nitpick] The markdown list structure in this section has inconsistent indentation and markers after the bulk update. Align nested bullets and code fences to improve readability.
Performs a specific touch action using W3C actions.

lib/helper/Appium.js:1375

  • After calling performActions, consider invoking releaseActions() or clearActions() on the browser to reset the input state and avoid residual pointer sessions.
    return this.browser.performActions(actions)

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.

2 participants