appium / appium/appium-flutter-driver

byValueKey fails to find element opened by showMaterialModalBottomSheet

Open
#613 2 comments 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

The widget which is opened by showMaterialModalBottomSheet and its descendants cannot be found using byValueKey, byText, etc. All other elements can be found if it's not opened by showMaterialModalBottomSheet
Is there any workaround for this issue?

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 by reproducing showMaterialModalBottomSheet with a Flutter widget and its descendants, then compare byValueKey and byText lookup with equivalent elements outside the modal. Trace the driver’s lookup behavior for the modal and verify that the descendants become discoverable, with a regression test covering the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter
Domain
mobile, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.