MDL-58704 behat: Restrict search to the target tab (by css_element)
commit8f60a02d5fec9b04ae1b3b52f43b561c81a155a4
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sat, 6 May 2017 18:46:58 +0000 (6 20:46 +0200)
committerSimey Lameze <simey@moodle.com>
Mon, 8 May 2017 01:49:10 +0000 (8 09:49 +0800)
treef9fea2a6efb1aff3eeac8d984dea9a9459bbd9db
parent48ad73619f870e4fd87240bd3c74202a300da6b2
MDL-58704 behat: Restrict search to the target tab (by css_element)

The existing search is too broad, and the text being searched exists
a number of times in the block, all them hidden, but one (the one
where we want to really check for the existence of the text).

So this patch only changes the search from block to the target
tab, doing it by css element id. Ideally we should be able to
search in tabs more naturally, but we don't have support for that right
now.
blocks/myoverview/tests/behat/block_myoverview_progress.feature