[allure-js] Cannot start new step using v.2.0.0-beta.18 with cucumber-js
See original GitHub issuecurrentExecutable throws “No executable!” error when trying to execute startStep function.
Error: No executable!
at CucumberAllureInterface.get currentExecutable [as currentExecutable] (/Users/fguidobaldi/Repositorios/fury_qaautomation/node_modules/allure-cucumberjs/dist/src/CucumberAllureInterface.js:65:15)
at CucumberAllureInterface.startStep (/Users/fguidobaldi/Repositorios/fury_qaautomation/node_modules/allure-cucumberjs/dist/src/CucumberAllureInterface.js:74:33)
at attachRequestAndResponse (/Users/fguidobaldi/Repositorios/fury_qaautomation/features/steps/when.js:410:33)
at World.<anonymous> (/Users/fguidobaldi/Repositorios/fury_qaautomation/features/steps/when.js:176:7)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
I added plain Reporter code following the docs (https://github.com/allure-framework/allure-js/blob/master/packages/allure-cucumberjs/README.md), but it doesn’t work out.
const { CucumberJSAllureFormatter } = require('allure-cucumberjs');
const { AllureRuntime } = require('allure-cucumberjs');
function Reporter(options) {
return new CucumberJSAllureFormatter(
options,
new AllureRuntime({ resultsDir: './allure-results' }),
{},
);
}
Reporter.prototype = Object.create(CucumberJSAllureFormatter.prototype);
Reporter.prototype.constructor = Reporter;
exports.default = Reporter;
This code was working with v.2.0.0-beta.9 and Cucumber 6
Expected behavior I should be able to create new steps using newer versions of allure-js.
Issue Analytics
- State:
- Created a year ago
- Comments:18
Top Results From Across the Web
allure-cucumberjs - npm
Allure Cucumber.JS integration. Latest version: 2.0.0-beta.22, last published: 2 days ago. Start using allure-cucumberjs in your project by running `npm i ...
Read more >CucumberJS and the Allure Reporter - YouTube
https://learn.webdriver.ioRecorded Jan. 25th, 2018WebdriverIO Wednesdays is a live stream going through various WebdriverIO concepts, ...
Read more >Allure JS protractor-cucumber-framework cucumberOpts
Now, while I provide Allure reporter to cucumberOpts.format together with cucumber-pretty, the 2nd one doesn't want to work. What I'm using: " ...
Read more >allure-js-commons | Yarn - Package Manager
allure-framework2.4mApache-2.02.0.0-beta.21TS vulns 0 vulnerabilities. Allure JS Commons ... Cucumber.JS ... Use it. $ yarn add allure-js-commons ...
Read more >Cucumber.js Tutorial with Examples For Selenium JavaScript
Let's start our Cucumber.js tutorial with a small brief about the ... the latest version of the Cucumber.js module, we will use the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Glad to know that you were able to find the problem! Let me know if I can help with anything, I’ll be looking forward for this!
Yes, I’ve reproduced the issue, still working on that. Will notify you as soon as I get any working result