Virgomax / reuse-cucumber-scenarios

Reuse cucumber scenarios by using "Given the scenario [scenario's tag]"
MIT License
10 stars 1 forks source link

Doesn't work #6

Open delfin86 opened 5 years ago

delfin86 commented 5 years ago

By default and with usage const enableScenarioCalling = require('reuse-cucumber-scenarios'); enableScenarioCalling(); gives error TypeError: Cannot read property 'name' of undefined GWT.js:29:52)

    { 
      var scenarioTag = sHelper.firstScenarioTag(tags);    // select first tag in the last line 
      OtherWorld.setCurrentScenarioTag(scenarioTag.name);  // set current scenario Tag in CustomWorld
    }
princefishthrower commented 2 years ago

My first guess is what version of cucumber-js this was written against - cucumber-js has changed significantly since when this package was last published (3 years ago)