(e2e) Make dev-client's dev launcher screen accessible through detox
P
Pradeep Pandey
This one should be simple.
Currently we can only run detox tests on release builds which longer to build than debug builds.
If we try to run detox tests on debug builds, the tests get stuck in the dev launcher screen as detox can't access the screen elements for some reason. I assume this is because there's some logical separation between the dev launcher and the actual app parts of the app, even though they're both bundled inside the apk.
When the dev-launcher screen is made automate-able through detox, we could just enter the expo server url using the 'element.typeText()' detox method and run tests.
This solution would geared towards the writing e2e tests phase in the developer/qa's local machine and doesn't make much sense in the CI context. But the upside of this solution could be it's quicker implementation(if it's possible) rather than a full-fledged e2e solution. Fingers crossed.
Travis Wimer
It seems that this is only a problem when the app is initially launched or after clearing the app data.
I assume this is because the launcher is storing your server/port selection and whether or not you've already hit "continue" on the welcome screen.
An easy solution might be to make it possible to pass those values in the config. That way you can just skip the launcher entirely.