Я получаю исключение AmbigiousStepDefinitionsException, и я не уверен, почему я получаю эту ошибку. Как я могу обойти это?
And I look for an apple in yellow basket with the following items
or
And I look for an apple in basket with the following items
@When("^I look for an? (apple|pear|grape) in (.*) basket with the following items:$")
Public void findStoreItems(String fruit, Map<string,String> itemList)
@When("^I look for an? (apple|pear|grape) in basket for the shop with the following items:$)
Public void findColorItems(String fruit, String color, Map<string,String> itemList)