Skip to content

End-to-End Testing with Detox - #95

Merged
naltatis merged 320 commits into
evcc-io:mainfrom
Maschga:setup-detox
Jan 5, 2026
Merged

End-to-End Testing with Detox#95
naltatis merged 320 commits into
evcc-io:mainfrom
Maschga:setup-detox

Conversation

@Maschga

@Maschga Maschga commented Oct 25, 2025

Copy link
Copy Markdown
Collaborator

🪧 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

Comment thread app.config.ts Outdated
@naltatis

Copy link
Copy Markdown
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

Maschga commented Nov 22, 2025

Copy link
Copy Markdown
Collaborator Author

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

@Maschga

Maschga commented Jan 3, 2026

Copy link
Copy Markdown
Collaborator Author

@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

Maschga commented Jan 3, 2026

Copy link
Copy Markdown
Collaborator Author

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

@naltatis

naltatis commented Jan 5, 2026

Copy link
Copy Markdown
Member

Looks good. Got all tests running locally.

@naltatis

naltatis commented Jan 5, 2026

Copy link
Copy Markdown
Member

@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

Maschga commented Jan 5, 2026

Copy link
Copy Markdown
Collaborator Author

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