Hi all, I'm using cypress-cucumber-preprocessor, so I have feature files with the BDD, and step files with it() blocks, using Given(), When() etc.
I have multiple feature files and corresponding step files.
I introduced a before() into one of the step files, I want this to run once each time that feature file is run.
I found that it works as expected except that the before() also runs when executing another feature file, which does not use the steps in the other step file. What could I be doing wrong?