Open tushar-WS opened 11 months ago
@tushar-WS pls note that GitHub Actions has no metal support. So if you're using react-native-skia or @rnmapbox/maps or some other library that requires metal then it will not run on GitHub Actions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions!
For more information on bots in this repository, read this discussion.
Description
Problem I am encountering an issue when trying to run Detox End-to-End (E2E) tests in GitHub Actions (CI pipeline). The build process completes successfully, but the application is not launching in the simulator. This problem does not occur when I run the tests locally; they work perfectly.
Symptoms The issue came to my attention because I am capturing screenshots before and after the tests, and I noticed that the screenshots taken during the CI pipeline show a blank home screen in the simulator (iPhone 12).
I have attempted to debug this issue by trying the following:
Tried Different Xcode Versions: I attempted to resolve the problem by running the tests on older versions of Xcode to see if it was a compatibility issue.
Tried Different macOS Versions: I also experimented with different versions of macOS to rule out any OS-related issues.
The .yml file used for CI
The config file for E2E
The detoxrc.js file
Please note that the issue is specific to GitHub Actions, as the tests run successfully on my local machine. Any assistance with debugging this issue and getting Detox E2E tests to work in the CI pipeline would be greatly appreciated PFA the screenshots from CI .
Your environment
Detox version: 20.11.0 React Native version: 0.70.8 Node version: 16.20.1 Device model: Macbook Pro M1 2021 OS: MacOS Ventura (13.6) Test-runner (select one): jest