MDL-57765 behat: Allow exact selectors to be used
commitf17c1aadb38547493e9c05f672d0154934b98fe6
authorRajesh Taneja <rajesh@moodle.com>
Mon, 30 Jan 2017 03:37:34 +0000 (30 11:37 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 21 Feb 2017 22:57:37 +0000 (21 23:57 +0100)
tree2ce653c80fe32757d6793b31487ee95d84429ed5
parent56b8f8c8be4dff9ece58c589a4bc7127e071d7a0
MDL-57765 behat: Allow exact selectors to be used

In Blocks with boost theme selector to
find block with name is partial match
it might fail in some cases. It would
be nice to use exact match to avoid
unexpected failures
lib/behat/classes/behat_selectors.php
lib/behat/classes/exact_named_selector.php
theme/boost/tests/behat/behat_theme_boost_behat_blocks.php