我正在尝试运行注册示例,但我遇到了问题
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 |
Run Code Online (Sandbox Code Playgroud)
然后我收到以下错误:
[Behat\Gherkin\Exception\ParserException]预期的注释或场景或大纲或步骤令牌,但得到了示例
我究竟做错了什么?我找不到任何关于behat doc的帮助.