diff --git a/src/SilverStripe/BehatExtension/Context/BasicContext.php b/src/SilverStripe/BehatExtension/Context/BasicContext.php index 038b773..2b59abf 100644 --- a/src/SilverStripe/BehatExtension/Context/BasicContext.php +++ b/src/SilverStripe/BehatExtension/Context/BasicContext.php @@ -780,4 +780,33 @@ JS; assertTrue(preg_match("/$textAfter(.*?)$textBefore/", $text) === 1, $text); } } + + /** + * Fills in HTML Editor (rich-text editor, e.g. TinyMCE) with specified id|name|label. + * @example I fill in "Terms and Conditions" HTML Editor with "test User Terms and Conditions1" + * @When /^(?:|I )fill in "(?P