Closed SMJ93 closed 6 years ago
To test android, please run mocha directly like this:
node_modules/.bin/mocha ./e2e --opts e2e/mocha.opts --configuration android.emu.debug --grep :ios: --invert
The reason is that some tests are ios specific, marked as :ios:
. These should be excluded on android.
As for iOS, I am not the best one to address it. But as far as I know, Earlgrey has trouble dealing with the soft keyboard sometimes.
exactly what @simonracz said. make sure the mac keyboard layout is English. We still need to figure out how to run platform specific tests, the current way is to do what Simon says 😜
I think this can be safely closed.
Problem
I have followed the contribution guide.
lerna run test
runs fine with all tests passing at 100%.Then when I try to run detox e2e covarage tests on both Android and iOS they fail.
At this stage when I run
git status
I noticeddetox/src/ios/earlgreyapi/GREYMatchers.js
has been modified and severalpackage-lock.json
's installed (should be ignored / commited?).iOS
Full error:
Android
Full Android error: