silverstripe-behat-extension icon indicating copy to clipboard operation
silverstripe-behat-extension copied to clipboard

Add step definition to support asserting that form fields are readonly

Open robbieaverill opened this issue 6 years ago • 0 comments

We currently have BasicContext::stepFieldShouldBeDisabled:

     * @Then /^the "(?P<name>(?:[^"]|\\")*)" (?P<type>(?:(field|button))) should (?P<negate>(?:(not |)))be disabled/
     * @Then /^the (?P<type>(?:(field|button))) "(?P<name>(?:[^"]|\\")*)" should (?P<negate>(?:(not |)))be disabled/

It'd be great to have the same thing but for readonly fields.

robbieaverill avatar May 06 '18 22:05 robbieaverill