I have a bunch of feature files with a bunch of Scenarios each. The first 2 or 3 steps depending on the case, are the same for each Scenario.
- Login
- Navigate to X page
So in a .feature file I have 10 scenarios, I'm running 20 steps that I could just run once and execute all my tests.
Is that possible with cucumber? Using Background executes the step for each scenario, I want to do that for each feature files. Sort of context for all my scenarios.
BTW, I'm using cypress-cucumber-preprocessor? But I think is the same.