MDL-55329 behat: PyStrings should end with : (colon)
This commit is contained in:
@@ -221,7 +221,7 @@ class behat_forms extends behat_base {
|
||||
/**
|
||||
* Sets the specified value to the field.
|
||||
*
|
||||
* @Given /^I set the field "(?P<field_string>(?:[^"]|\\")*)" to multiline$/
|
||||
* @Given /^I set the field "(?P<field_string>(?:[^"]|\\")*)" to multiline:?$/
|
||||
* @throws ElementNotFoundException Thrown by behat_base::find
|
||||
* @param string $field
|
||||
* @param PyStringNode $value
|
||||
|
||||
@@ -36,7 +36,7 @@ Feature: Users can be required to specify certain fields when adding entries to
|
||||
| Field name | Required Two-Option Checkbox |
|
||||
| Field description | Required Two-Option Checkbox |
|
||||
| Required | yes |
|
||||
And I set the field "Options" to multiline
|
||||
And I set the field "Options" to multiline:
|
||||
"""
|
||||
RTOC Option 1
|
||||
RTOC Option 2
|
||||
@@ -83,7 +83,7 @@ Feature: Users can be required to specify certain fields when adding entries to
|
||||
| Field name | Required Two-Option Multimenu |
|
||||
| Field description | Required Two-Option Multimenu |
|
||||
| Required | yes |
|
||||
And I set the field "Options" to multiline
|
||||
And I set the field "Options" to multiline:
|
||||
"""
|
||||
Option 1
|
||||
Option 2
|
||||
|
||||
Reference in New Issue
Block a user