Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
StefanWallin opened this issue Feb 24, 2024 · 4 comments
Closed
Labels
bug Something isn't working no-issue-activity

Comments

@StefanWallin
Copy link

Bug

Cannot select content within bottom-sheet in Maestro Studio or find during test run
Related issue: mobile-dev-inc/maestro#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

StefanWallin/Maestro-character-bug#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
@vyobukhov
Copy link

There is kind of a solution found in the linked issue (works for me):
mobile-dev-inc/maestro#1493 (comment)

Thx to @flo-sch

Copy link

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.

Copy link

github-actions bot commented Apr 4, 2024

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

@github-actions github-actions bot closed this as completed Apr 4, 2024
@thinh-at-phantom
Copy link

thinh-at-phantom commented Sep 3, 2024

There is kind of a solution found in the linked issue (works for me): mobile-dev-inc/maestro#1493 (comment)

Thx to @flo-sch

This seems to be a workaround because of defaults in bottom-sheet. I believe this issue needs to be re-opened and taken a look at, as it currently breaks any tests using Maestro without the workaround.

I'm still running into this with v4.6.4.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

3 participants