I am implementing Behat with Mink, using the following feature:
Scenario: Search for another phrase that exists
Given I am on "/wiki/Main_Page"
When I fill in "search" with "Behavior Driven Development"
And I press "searchButton"
Then I should see "agile software development"
I have used the Goutte and Sahi, and the error is consistent. I get the error on "Then I should see "agile software development"
Scenario: Search for another phrase that exists # features/wikipedia.feature:13
Given I am on "/wiki/Main_Page" # WikipediaFeatureContext::visit()
When I fill in "search" with "Behavior Driven Development" # WikipediaFeatureContext::fillField()
And I press "searchButton" # WikipediaFeatureContext::pressButton()
Then I should see "agile software development"
Ambiguous match of "I should see "agile software development"":
to `/^I should see "([^"]*)"$/` from AccountFeatureContext::iShouldSee()
to `/^(?:|I )should see "(?P<text>(?:[^"]|\\")*)"$/` from WikipediaFeatureContext::assertPageContainsText()
How to fix this issue.