Skip to content

Conversation

@Maschga
Copy link
Collaborator

@Maschga Maschga commented Oct 25, 2025

🪧 Setup Detox
🧱 Add prebuild scripts
📝 Write tests

TODO:

  • test on macOS @naltatis
  • write tests
  • add android job
  • add macos job

HOWTO for macOS:

  1. Run npx detox build -c ios.sim.release
  2. Run npx detox test -c ios.sim.release

@naltatis
Copy link
Member

@Maschga local macOS setup works for me. I've build iOS and Android pipelines. Still struggling with tech-setup stuff there. I've adjusted a few things in the process. Feel free to change things back if needed. Goal is to have a setup that works locally and in CI 😄

@Maschga
Copy link
Collaborator Author

Maschga commented Nov 22, 2025

Having the same difficulties. Local android setup works, but ci does not. :D
Thanks for letting me know.

@Maschga
Copy link
Collaborator Author

Maschga commented Jan 3, 2026

@naltatis Both Tests (Android and iOS) are stable and finished successfully.
Now I am waiting for the next evcc release which should include evcc-io/evcc#26325.

@Maschga
Copy link
Collaborator Author

Maschga commented Jan 3, 2026

If you can think of any more test cases, please let me know.

@naltatis
Copy link
Member

naltatis commented Jan 5, 2026

Looks good. Got all tests running locally.

@naltatis
Copy link
Member

naltatis commented Jan 5, 2026

@Maschga iOS failed in actions. I'd like to get this into main. The most important part, having automated tests, is achieved. Even if they need to run locally for now. I've changed the workflows so they they only run on demand, not on every push. This way we can stabilize them and run them on demand before a larger release.

@naltatis naltatis changed the title Setup Detox End-to-End Testing with Detox Jan 5, 2026
@naltatis naltatis merged commit 63f154b into evcc-io:main Jan 5, 2026
5 checks passed
@Maschga
Copy link
Collaborator Author

Maschga commented Jan 5, 2026

iOS failed in actions

Pipeline fails because there are problems downloading Xcode 26. :-/
I didn't find a way to get around this error, I even have added a retry mechanism - No chance ...
The Detox tests itself are stable.

https://github.com/evcc-io/app/actions/runs/20722247264/job/59488804787#step:3:1

I've changed the workflows so they they only run on demand, not on every push.

That's a good compromise.
Maybe we will find a fix for the downloading issue, although I am convinced that the problem lies with Apple.

@Maschga Maschga deleted the setup-detox branch January 5, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants