You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the detox tag.
Steps To Reproduce
a.
config.json
b.
firstTest.spec.js
c.
init.js
d.
mocha.opts
Describe what you expected to happen:
npm run build:ios-debug
=> status: ** BUILD SUCCESSFUL **
npm run build:ios-release
=> status: ** BUILD FAILED **
detox[807] ERROR: [cli.js] Error: Command failed: export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/MyApp.xcodeproj -scheme MyApp -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=NO -quiet
npm run build:android-debug
=> status: status: ** BUILD SUCCESSFUL **
detox[2209] INFO: [build.js] cd android; ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug; cd -
npm run build:android-release
=> status: status: ** BUILD SUCCESSFUL **
detox[2050] INFO: [build.js] cd android; ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release; cd -
npm run test:ios-debug
=> status: ** FAILED ** e2e/firstTest.spec.js
Ran all test suites matching /e2e/i with tests matching "^((?!:android:).)$".
detox[2269] ERROR: [cli.js] Error: Command failed: node_modules/.bin/jest --config=e2e/config.json --maxWorkers=1 '--testNamePattern=^((?!:android:).)$' "e2e"
npm run test:ios-release
=> status: same with test: npm run test:ios-debug
npm run test:android-debug
=> status: ** FAILED ** e2e/firstTest.spec.js
detox[2339] ERROR: [cli.js] Error: Command failed: node_modules/.bin/jest --config=e2e/config.json --maxWorkers=1 '--testNamePattern=^((?!:ios:).)*$' "e2e"
npm run test:android-release
=> status: same with test: npm run test:android-debug
npm run e2e:ios-debug
=> status: absolutely error because above tests failed too
npm run e2e:ios-release
=> status: absolutely error because above tests failed too
npm run e2e:android-debug
=> status: absolutely error because above tests failed too
npm run e2e:android-release
=> status: absolutely error because above tests failed too
So, I need some help about E2E Detox React Native with Jest
Thank you guys.
The text was updated successfully, but these errors were encountered: