I\'ve got a Cucumber Step class that i\'m attempting to initialise a page model for all scenarios. So I added a @Before annotated method :
@Before() private void
In my case worked the addition of a package where @Before was defined to the glue parameter:
@CucumberOptions(glue = {"cucumber.hook", "cucumber.steps"})