Open
Description
With
- wdio v7
- cucumber v7
- wdio.conf.ts runner
Configuration:
const sourceSpecDirectory = process.env.features;
const parallelExecutionReportDirectory = `path/to/parallelExecutionReportDirectory`;
let featureFilePath = `${sourceSpecDirectory}/*.feature`;
// If parallel execution is set to true, then create the Split the feature files
// And store then in a tmp spec directory (created inside `the source spec directory)
if (argv.parallel === 'true') {
const tmpSpecDirectory = `${sourceSpecDirectory}/tmp`;
cParallel.performSetup({
sourceSpecDirectory: sourceSpecDirectory,
tmpSpecDirectory: tmpSpecDirectory,
cleanTmpSpecDirectory: true
});
featureFilePath = `${tmpSpecDirectory}/*.feature`
}
Stack Trace:
Failed loading configuration file: /Users/sjosh00/PycharmProjects/wdio-mocha/wdio.conf.ts: Cannot find module 'node-emoji'
Require stack:
- /Users/sjosh00/PycharmProjects/wdio-mocha/node_modules/wdio-cucumber-parallel-execution/performSetup.js
- /Users/sjosh00/PycharmProjects/wdio-mocha/node_modules/wdio-cucumber-parallel-execution/index.js
- /Users/sjosh00/PycharmProjects/wdio-mocha/wdio.conf.ts
- /Users/sjosh00/PycharmProjects/wdio-mocha/node_modules/@wdio/config/build/lib/FileSystemPathService.js
- /Users/sjosh00/PycharmProjects/wdio-mocha/node_modules/@wdio/config/build/lib/ConfigParser.js
- /Users/sjosh00/PycharmProjects/wdio-mocha/node_modules/@wdio/config/build/index.js
- /Users/sjosh00/PycharmProjects/wdio-mocha/node_modules/@wdio/cli/build/launcher.js
- /Users/sjosh00/PycharmProjects/wdio-mocha/node_modules/@wdio/cli/build/index.js
- /Users/sjosh00/PycharmProjects/wdio-mocha/node_modules/@wdio/cli/bin/wdio.js
Metadata
Metadata
Assignees
Labels
No labels