appium / appium/appium-flutter-driver

flutter:scrollIntoView always scrolls inner most ListView and scrolls indefinitely

Open
#679 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
539
Forks
195
Avg merge
1h 11m
Merged PRs (30d)
4

Description

Summary

flutter:scrollIntoView always scrolls inner most ListView and scrolls indefinitely, even when specifying ListView with flutter:scrollUntil

Code
...
capabilities = XCUITestOptions().load_capabilities(capabilities)
driver = webdriver.Remote(appium_server_url, options=capabilities)
driver.execute_script("flutter:scrollIntoView", locator, {"alignment": 0})
Specs
Appium-Flutter-Finder: 0.7.0
Appium-Python-Client: 4.0.0
pytest_bdd: 7.1.2
python: 3.12.1
...
flutter doctor
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.3.1 23D60 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.87.2)
[✓] VS Code (version 1.84.0-insider)
[✓] Connected device (3 available)            
[✓] Network resources
...
device: iPad

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the driver entry point for the flutter:scrollIntoView script and reproduce the nested ListView behavior using the supplied Flutter, Appium-Flutter-Finder, and iPad environment details. Done means the requested ListView is targeted by flutter:scrollUntil and scrolling stops instead of continuing indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, python, typescript
Domain
mobile, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.