This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi Guys, I have installed protractor(both locally and globaly and tried with both) and cucumberJS. I used to run those test from CLI. When tried to run same test from NetBeans IDE on windows 10 got an error(stack trace at the bottom.) I followed wiki to set up my Selenium protractor: http://wiki.netbeans.org/NewAndNoteworthyNB81#Protractor . The only thing I am not sure is - when I first run 'Selenium test' it asked for a test folder(there is no word in your protractor's wiki about these) so I choose feature folder. My protractor.conf that I select in setting: exports.config = { seleniumAddress: 'http://127.0.0.1:4444/wd/hub', getPageTimeout: 60000, allScriptsTimeout: 180000, framework: 'custom', // path relative to the current config file frameworkPath: require.resolve('protractor-cucumber-framework'), capabilities: { 'browserName': 'chrome' }, specs: [ 'features/**/*.feature' ], baseURL: 'http://localhost:8080/', cucumberOpts: { require: ['./features/**/*.steps.js', './features/support/*.js'], format: 'pretty', profile: false, tags: '@default' }, onPrepare: () => { return browser.getProcessedConfig().then(function(config) { const tafConfig = require('./config/touchstone-cfg'); const TafEntryUtil = require('./scripts/taf-entry-util'); const tafEntryUtil = new TafEntryUtil(tafConfig); let tagExpr = tafEntryUtil.readCucumberTags(); //TODO: move it to logger in future console.info('CUCUMBER_TAG_EXPRESSION: ' + tagExpr); config.cucumberOpts.tags = tagExpr; }); } // SELENIUM_PROMISE_MANAGER: false }; Stacktrace: (node:16440) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. [20:08:53] I/launcher - Running 1 instances of WebDriver [20:08:53] I/hosted - Using the selenium server at http://127.0.0.1:4444/wd/hub [20:08:56] E/launcher - Error: Error: When config.framework is custom, config.frameworkPath is required. at q.then.then.then.then (C:\Users\Viacheslav_Gordiievs\AppData\Roaming\npm\node_modules\protractor\lib\runner.ts:426:21) at _fulfilled (C:\Users\Viacheslav_Gordiievs\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:834:54) at self.promiseDispatch.done (C:\Users\Viacheslav_Gordiievs\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:863:30) at Promise.promise.promiseDispatch (C:\Users\Viacheslav_Gordiievs\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:796:13) at C:\Users\Viacheslav_Gordiievs\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:556:49 at runSingle (C:\Users\Viacheslav_Gordiievs\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:137:13) at flush (C:\Users\Viacheslav_Gordiievs\AppData\Roaming\npm\node_modules\protractor\node_modules\q\q.js:125:13) at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickCallback (internal/process/next_tick.js:104:9) [20:08:56] E/launcher - Process exited with error code 100 Thanks in advance for any help. Please let me know if you need more information.