MDL-43951 behat: Fixing random failure
commit405cdd0441c78e7af83113a14d2564d0ef107d3a
authorDavid Monllao <davidm@moodle.com>
Mon, 3 Feb 2014 04:15:24 +0000 (3 12:15 +0800)
committerDavid Monllao <davidm@moodle.com>
Mon, 3 Feb 2014 05:59:12 +0000 (3 13:59 +0800)
tree074ea251975af83bde3e92ba3d69dcf6304e8066
parent183515da233fd9d96a64d94e215300851183a049
MDL-43951 behat: Fixing random failure

NodeElement->hasAttribute() (JS enabled) queries selenium
about whether it has any attribute or not, if due to an
AJAX request the field node changed selenium can not access
that node and throws an exception.
lib/behat/form_field/behat_form_select.php