react-native-bottom-sheet icon indicating copy to clipboard operation
react-native-bottom-sheet copied to clipboard

[v4.6.0] Cannot select content within bottom sheet in Maestro Studio

Open StefanWallin opened this issue 1 year ago • 1 comments

Bug

Cannot select content within bottom-sheet in Maestro Studio or find during test run Related issue: https://github.com/mobile-dev-inc/maestro/issues/1493

Environment info

Library Version
@gorhom/bottom-sheet 4.6.0
react-native 0.72.9
react-native-reanimated 3.6.1
react-native-gesture-handler 2.14.0
maestro  1.36.0

Steps To Reproduce

  1. Add text Awesome Text in Bottom Sheet into content section of gorhom bottom sheet
  2. Run maestro flow that tries to - assertVisible: 'Awesome Text in Bottom Sheet'
  3. Maestro cannot find the text

Describe what you expected to happen: I expect maestro to find the text.

Reproducible sample code

https://github.com/StefanWallin/Maestro-character-bug/pull/1

  1. Git checkout branch maestro-gorhom-bottom-sheet-1493
  2. npm i
  3. npx pod-install
  4. npm run ios
  5. Install maestro : curl -Ls "https://get.maestro.mobile.dev" | bash
  6. maestro test .maestro/main.yaml

StefanWallin avatar Feb 24 '24 17:02 StefanWallin

There is kind of a solution found in the linked issue (works for me): https://github.com/mobile-dev-inc/maestro/issues/1493#issuecomment-1966447805

Thx to @flo-sch

vyobukhov avatar Feb 28 '24 11:02 vyobukhov

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Mar 30 '24 09:03 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Apr 04 '24 09:04 github-actions[bot]