Skip to content

submitSymfonyForm(): Mentioning name attribute #128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Codeception/Module/Symfony/BrowserAssertionsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public function seePageRedirectsTo(string $page, string $redirectsTo): void
/**
* Submit a form specifying the form name only once.
*
* Use this function instead of $I->submitForm() to avoid repeating the form name in the field selectors.
* If you customized the names of the field selectors use $I->submitForm() for full control.
* Use this function instead of [`$I->submitForm()`](#submitForm) to avoid repeating the form name in the field selectors.
* If you customized the names of the field selectors use `$I->submitForm()` for full control.
*
* ```php
* <?php
Expand All @@ -94,7 +94,7 @@ public function seePageRedirectsTo(string $page, string $redirectsTo): void
* ]);
* ```
*
* @param string $name
* @param string $name The `name` attribute of the `<form>` (you cannot use an array as selector here)
* @param string[] $fields
*/
public function submitSymfonyForm(string $name, array $fields): void
Expand Down