-
Notifications
You must be signed in to change notification settings - Fork 98
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
Using detox plugin #34
Comments
@Norfeldt I think this should be useful to you "scripts": {
"e2e:ios": "npm run build:ios && npm run test:ios"
} source: package.json |
Oh, I thought I could use the plugin in a managed app with the expo go client. I use a macBook but really enjoy not having to compile locally (or do anything in xcode) |
@Norfeldt sorry for the misunderstanding. On the bright side, E2E tests generally run in CI environments. |
@EvanBacon No need to be sorry about anything. You have been pushing RN with expo in the right direction for years now and I admire the work you do. I'm just having a really hard time finding some good videos/tutorials/guides on how to do detox testing in a managed app (and have a CI with it). Do you have any good reference materials on how to get started or is there any chance that you could drop a quick YT video of you showing off a very very simple detox with expo? |
@Norfeldt as far as I know, there aren't very good resources right now. I really don't like the current set of workarounds and hacks involved with getting Detox working so I'm not comfortable documenting them at the moment. Here is a pseudo example of using prebuild + detox in a monorepo, it's currently broken. Somethings we're working on to fix this:
Really there are too many steps involved. E2E testing, auto screenshots, etc. would benefit a lot from some type of managed CI service. If you manage to get an example repo working I'd love to hear your findings. |
@EvanBacon thank you for taking the time to clarify the current situation. Now I understand that it's not just my googling on 'react native e2e' that is bad, but it's because it's a struggle to get a stable setup (all the examples I have found has been broken). Yes, a managed CI service would be fantastic 🎉🎉 and I'm crossing my fingers for Expo coming to the rescue regarding E2E testing and auto screenshots. Been looking into Appcenter from MS but not much good resources are to find on that either (but the phone farm looks cool). Expo has been knocking down roadblock in RN land:
*tried the |
The readme seems really well written however I do face some issue that I hope you can help me we details on.
'yarn e2e:ios'
I don't have this script in my package.json made the project by expo init. What do you suggest me to do?
The text was updated successfully, but these errors were encountered: