serenity-bdd / serenity-cucumber

Cucumber integration for the Serenity BDD Reporting library
Other
78 stars 74 forks source link

In Serenity-cucumber-> How to handle multiple scenario outlines inside a single feature file. #218

Open LalithVigneshS opened 4 years ago

LalithVigneshS commented 4 years ago

My feature file is as such hitting 2 consecutive API's to get the response and validate using the response in the webportal whether record is created or not.

I am using 2 scenario outlines to pass the request payload for the API's.

As there are many combinations of passing the test data, i am not able to tweak with the existing cucumber logic of running the first scenario outlines with all the testdata followed by second one.

Is there any way to handle this issue suggested by serenity .