8
मैं पंजीकरण उदाहरण भागने की कोशिश कर रहा हूँ और मैं अटक कर रहा हूँखीरा + Behat परिदृश्य रूपरेखा फेंकता Behat खीरा अपवाद 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 |
तो मैं निम्नलिखित त्रुटि मिलती है:
[Behat\Gherkin\Exception\ParserException] Expected Comment or Scenario or Outline or Step token, but got Examples
क्या क्या मैं गलत कर रहा हूँ? मुझे व्यवहार दस्तावेज़ पर कोई मदद नहीं मिल रही है।
दस्तावेज़ों के लिए http://docs.behat.org/guides/1.gherkin.html#scenario-outlines देखें। – Klaasvaak