skenario.getName () CUCUMBER-JS
const { defineSupportCode } = require('cucumber');
defineSupportCode(function({Before}) {
Before((scenario)=> {
console.log('before scenario', scenario.name);
});
})
Fine Flamingo