Skip to content

Instantly share code, notes, and snippets.

@mattwynne
Created July 5, 2018 12:00
Show Gist options
  • Save mattwynne/381f698a7b6a41c080cfbf815564d009 to your computer and use it in GitHub Desktop.
Save mattwynne/381f698a7b6a41c080cfbf815564d009 to your computer and use it in GitHub Desktop.
> testng@0.0.0 test-cucumber /Users/matt/projects/cucumber-electron-testbed
> npx cucumber-electron test/features/component-x.feature --require 'test/**/steps.ts' --require-module 'ts-node/register'
.F-.
Failures:
1) Scenario: component X can be instanciated # test/features/component-x.feature:3
✔ Before # test/features/step_definitions/steps.ts:11
✖ Before # test/features/step_definitions/steps.ts:22
Error: Failed to load app.component.html
at Function.<anonymous> (/Users/matt/projects/cucumber-electron-testbed/node_modules/cucumber/src/user_code_runner.js:74:17)
at Generator.throw (<anonymous>)
at Generator.tryCatcher (/Users/matt/projects/cucumber-electron-testbed/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseRejected (/Users/matt/projects/cucumber-electron-testbed/node_modules/bluebird/js/release/generators.js:107:10)
at Promise._settlePromise (/Users/matt/projects/cucumber-electron-testbed/node_modules/bluebird/js/release/promise.js:576:26)
at Promise._settlePromise0 (/Users/matt/projects/cucumber-electron-testbed/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/matt/projects/cucumber-electron-testbed/node_modules/bluebird/js/release/promise.js:689:18)
at Async._drainQueue (/Users/matt/projects/cucumber-electron-testbed/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Users/matt/projects/cucumber-electron-testbed/node_modules/bluebird/js/release/async.js:143:10)
at Async.drainQueues (/Users/matt/projects/cucumber-electron-testbed/node_modules/bluebird/js/release/async.js:17:14)
at ZoneDelegate.invoke (/Users/matt/projects/cucumber-electron-testbed/node_modules/zone.js/dist/zone.js:388:26)
at Zone.run (/Users/matt/projects/cucumber-electron-testbed/node_modules/zone.js/dist/zone.js:138:43)
at /Users/matt/projects/cucumber-electron-testbed/node_modules/zone.js/dist/zone.js:872:34
at ZoneDelegate.invokeTask (/Users/matt/projects/cucumber-electron-testbed/node_modules/zone.js/dist/zone.js:421:31)
at Zone.runTask (/Users/matt/projects/cucumber-electron-testbed/node_modules/zone.js/dist/zone.js:188:47)
at drainMicroTaskQueue (/Users/matt/projects/cucumber-electron-testbed/node_modules/zone.js/dist/zone.js:595:35)
- Then component X is instanciated # test/features/step_definitions/steps.ts:30
✔ After # test/features/step_definitions/steps.ts:18
1 scenario (1 failed)
1 step (1 skipped)
0m00.041s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment