MDL-67668 behat: Support NodeElement when fetching node in container
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 12 Nov 2020 00:15:55 +0000 (08:15 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 23 Nov 2020 01:01:19 +0000 (09:01 +0800)
commit1144969755987c886ceecb654344ce7859ec16f8
tree1635866d75b51f5e20d3f55e4b6a338d328e8373
parentc8d33eb9ceac63135723891d357e59dee6f5d76a
MDL-67668 behat: Support NodeElement when fetching node in container

This is similar to change made in MDL-69136 to allow an already-fetched
NodeElement to be provided to the get_node_in_container() function and
makes it easier to be deterministic when writing steps.
lib/behat/behat_base.php