How can we prioritize or add dependencies between Scenarios, in Cucumber?
for eg: in the QTP Selenium training, we have added 2 scenario's in the Portfolio, CreatePortFolio and DeletePortFolio.
but the DeletePortFolio will fail in the parallel run, as the portfolio that is being attempted to be deleted is not created yet, in the CreatePortfolio scenario.
Instructor
Ashish Thakur Replied on 11/06/2020
Cucumber guys have clearly mentioned that scnarios should be independent
Dependent scenarios are not supported/encouraged