Open med004 opened 7 years ago
help me please
First of all you should format description of your issue, because it's hard to read. https://guides.github.com/features/mastering-markdown/ Second your code is weird, especially:
if (null === $element) {
var_dump($element);
}
why you var dump null? I guess that screenshot with fail was produced by another code - please be consistent - add code and error that this code was produced
Can Be code or scenario behat ??? help me please I 'm blocked
alo help me please
I have make test to add article in my project symfony but i have probleme in press input submit
this is code my feature:
`Feature: dossiertest
`
this is code context:
`/**
@When I press on :arg1 */ public function iPressOn($arg1) { $element = $this->getSession()->getPage()->findById($arg1); if (null === $element) { var_dump($element); } $element->press();
}`
and this is code twig :
`
{{ msg }}
<form method="post" {{ form_enctype(form) }} >
{{form_label(form.info) }}
{{ form_widget(form.info) }} {{form_errors(form.info) }}
{{ form_rest(form) }}
`
now i have this problem when i lunch my test in step "And I press on "ajout"
http://imgur.com/a/rpPLN
help me please for resolve this problem