| 1 | <?php |
||
| 5 | class FormContext extends BaseContext |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Fills in form field with specified id|name|label|value without unfocus field |
||
| 9 | * |
||
| 10 | * @When /^(?:|I )fill in "(?P<field>(?:[^"]|\\")*)" with "(?P<value>(?:[^"]|\\")*)" without loosing focus$/ |
||
| 11 | * @When /^(?:|I )fill in "(?P<value>(?:[^"]|\\")*)" for "(?P<field>(?:[^"]|\\")*)" without loosing focus$/ |
||
| 12 | */ |
||
| 13 | public function iFillInFieldWithoutLoosingFocus($field, $value) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Returns fixed step argument (with \\" replaced back to "). |
||
| 36 | * |
||
| 37 | * @param string $argument |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | private function fixStepArgument($argument) |
||
| 44 | } |
||
| 45 |