Skip to content
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

Carousel elements (and content inside) are not visible for Detox (e2e) #505

Open
alex-vasylchenko opened this issue Dec 6, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@alex-vasylchenko
Copy link

Describe the bug
Carousel element isn't visible for Detox, but it is existed in current UI hierarchy.

For example:

const isVisible = await expect(element(by.id('carousel-item'))).toBeVisible(); // false

const isExisted = await expect(element(by.id("carousel-item"))).toExist() // true

From Detox doc:

On iOS, visibility is defined by having the view, or one of its subviews, be topmost at the view’s activation point on screen.

Versions:

  • react: v18.2.0
  • react-native: v0.72.6
  • react-native-reanimated: v3.5.4
  • react-native-reanimated-carousel: v3.5.1
  • react-native-gesture-handler: v2.13.4
@alex-vasylchenko alex-vasylchenko added the bug Something isn't working label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants