unknown option '--configuration'
Hello this command doesn't work for me $ node_modules/.bin/cucumber-js ./e2e/features --require-module @babel/register --configuration ios.sim.debug error: unknown option '--configuration'
You can use the DETOX_CONFIGURATION environment variable for this now:
DETOX_CONFIGURATION=ios.sim.debug node_modules/.bin/cucumber-js ./e2e/features --require-module @babel/register
@day-me-an You saved my day ! Thanks
Hi,
When I am trying to run DETOX_CONFIGURATION=android node_modules/.bin/cucumber-js it gives me error 'DETOX_CONFIGURATION' is not recognized as an internal or external command
Any ideas how to solve this?
Thanks
You can use the
DETOX_CONFIGURATIONenvironment variable for this now:DETOX_CONFIGURATION=ios.sim.debug node_modules/.bin/cucumber-js ./e2e/features --require-module @babel/register
In which file this needs to be ?
Hi
This is your launch test script you can add it to a .sh file and / or add this call to your package.json scripts
Okey this is how it must be in the package.json:
"cucumber:ios": "DETOX_CONFIGURATION=ios ./node_modules/.bin/cucumber-js ./e2e/cucumber --require-module @babel/register"
how can I adapt this command to windows? "detox:e2e:android-debug": "DETOX_CONFIGURATION=android.emu.debug npx cucumber-js" What can I write instead of this one?