GeekyAnts / GeekyAnts/NativeBase

Menu component doesn't play well with e2e tests

Open
#5,766 1 comment 0 reactions 0 assignees View on GitHub
bug triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

Detox times out on await whenever there is a on the screen, Cypress tests cannot find the component when trying to interact with it

### CodeSandbox/Snack link

-

### Steps to reproduce

I understand that these are 2 separate issues but lumping them together because they might be related

Detox:
1. Install Detox on a React-Native (iOS) project with NativeBase
2. `await device.launchApp()` with a rendered
3. Expect Detox to timeout while waiting for app to launch

Cypress:
1. Install Cypress on a React project with NativeBase
2. Try to use Cypress to open a and click on any
3. Cypress times out, unable to find

### NativeBase Version

3.3.6

### Platform

- [ ] Android
- [X] CRA
- [ ] Expo
- [X] iOS
- [ ] Next

### Other Platform

_No response_

### Additional Information

I get that the team is hard at work for gluestack-ui but I can't port the project over until it is stable. Hope I can get some guidance from the team or community for how to work around the issues 🙏

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.