Step attachFileToField has wrong examples

This commit is contained in:
João Costa Silva
2022-08-02 12:36:30 +02:00
committed by GitHub
parent c5dccf0bfe
commit f51585330a

View File

@@ -199,8 +199,8 @@ class MinkContext extends RawMinkContext implements TranslatableContext
/** /**
* Attaches file to field with specified id|name|label|value * Attaches file to field with specified id|name|label|value
* Example: When I attach "bwayne_profile.png" to "profileImageUpload" * Example: When I attach the file "bwayne_profile.png" to "profileImageUpload"
* Example: And I attach "bwayne_profile.png" to "profileImageUpload" * Example: And I attach the file "bwayne_profile.png" to "profileImageUpload"
* *
* @When /^(?:|I )attach the file "(?P<path>[^"]*)" to "(?P<field>(?:[^"]|\\")*)"$/ * @When /^(?:|I )attach the file "(?P<path>[^"]*)" to "(?P<field>(?:[^"]|\\")*)"$/
*/ */