Skip to content

Commit 6c8c0cb

Browse files
committed
Added a more descriptive message for submitSymfonyForm
1 parent c9b3810 commit 6c8c0cb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Codeception/Module/Symfony.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,8 +966,10 @@ public function seeAuthentication($remembered = false)
966966
}
967967

968968
/**
969-
* Submits the given Symfony Form on the page, with the given form values.
970-
* If you customized the CSS selectors or field names use ->submitForm() instead.
969+
* Submit a form specifying the form name only once.
970+
*
971+
* Use this function instead of $I->submitForm() to avoid repeating the form name in the field selectors.
972+
* If you customized the names of the field selectors use $I->submitForm() for full control.
971973
*
972974
* ```php
973975
* <?php

0 commit comments

Comments
 (0)