Cloned repo, updated config, and run command in README. I got test failure. It seems test could not find step_definitions file.
$ ~/repos/cucumber-js-browserstack $ npm install [master]
npm WARN cucumber-js-browserstack@0.1.0 No license field.
up to date in 0.525s
# ~/repos/cucumber-js-browserstack $ npm run single [master]
> cucumber-js-browserstack@0.1.0 single /Users/foo/cucumber-js-browserstack
> CONFIG_FILE=single ./node_modules/cucumber/bin/cucumber.js features/single.feature
(node:3762) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
UUU
Warnings:
1) Scenario: Can find search results # features/single.feature:3
? When I type query as "BrowserStack"
Undefined. Implement with the following snippet:
When('I type query as {string}', function (string, callback) {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
? Then I submit
Undefined. Implement with the following snippet:
Then('I submit', function (callback) {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
? Then I should see title "BrowserStack - Google Search"
Undefined. Implement with the following snippet:
Then('I should see title {string}', function (string, callback) {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
1 scenario (1 undefined)
3 steps (3 undefined)
0m00.000s
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cucumber-js-browserstack@0.1.0 single: `CONFIG_FILE=single ./node_modules/cucumber/bin/cucumber.js features/single.feature`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cucumber-js-browserstack@0.1.0 single script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/foo/.npm/_logs/2017-10-02T17_13_20_268Z-debug.log
Cloned repo, updated config, and run command in README. I got test failure. It seems test could not find step_definitions file.