Scenario outline: Create a new list and add the item to it
Given As a user I landed on home screen
When I click on create list as “Shopping”
And Click on Save button
Then I can add the items to List “<Items>”
Examples: |Items|
|Vegs|
|Food|
Scenario Outline: Create 2 new lists and add the item to it
Given As a user I landed on home screen
When I click on create list as “Shopping2 “
And Click on Save button
Then I can add the items to List “<Items>”
Examples: |Items|
|Vegs|
|Food|
Is there any chance to I can write the Feature file as below to get same result as above mentioned or following scenario outline is correct to add Items to individual List.
Scenario Outline : Create 2 new lists and add the item to it
Given As a user I landed on home screen
When I click on create list as “<List> “
Examples: |List|
|Shopping|
|Shopping2|
And Click on Save button
Then I can add the items to List “<Items>”
Examples: |Items|
|Vegs|
|Food|
Could you please let me know is which is the best method to write the scenarios in the feature file.