MDL-49446 behat: should_not_be_visible steps were not working
commitca0ceacd27b10c277489c46d2438c59a1ee194c4
authorTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 9 Mar 2015 13:42:13 +0000 (9 13:42 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 13 Mar 2015 14:28:47 +0000 (13 14:28 +0000)
treea75d8fe26d30d76a7f5a5e4b2f7774e4de3650af
parent06122e46fd16891787a08e9e3125465bea83eaf5
MDL-49446 behat: should_not_be_visible steps were not working

I fixed all similar problems in this class, even ones where it did
actually work becuase the two exceptions were of different types.
This pattern seems to have been copied and pasted a lot in this class,
and I am sure that will happen again, so I did not want to leave any
dangerous potential examples around.
lib/tests/behat/behat_general.php