8
Ich versuche Anmeldung Beispiel auszuführen, und ich bin steckenGherkin + Behat Szenario Umriss wirft Behat Gherkin Exception ParserException
Scenario: New user registration; poor password
Given I am on "/register"
When I fill in "username" with "admin"
And I fill in "password1" with "<pw>"
And I fill in "password2" with "<pw>"
And I press "Login"
Then I should be on "/register"
And I should see an "pwError" element
Examples:
| pw |
| 12 |
| 20 |
Dann habe ich die folgende Fehlermeldung erhalten:
[Behat\Gherkin\Exception\ParserException] Expected Comment or Scenario or Outline or Step token, but got Examples
Was mache ich falsch? Ich kann keine Hilfe auf Behat Doc oder so finden.
Siehe http://docs.behat.org/guides/1.gherkin.html#scenario-outlines für die Dokumente. – Klaasvaak