Merge pull request #18 from joaocsilva/patch-1

Step attachFileToField has wrong examples
This commit is contained in:
Yozhef
2022-10-17 10:23:22 +03:00
committed by GitHub

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>(?:[^"]|\\")*)"$/
*/ */