MDL-48374 behat: improved page load detection
commit4ef9c95b9763ca0726984d496bf829079de969fb
authorAndrew Nicols <andrew@nicols.co.uk>
Tue, 2 Dec 2014 00:57:38 +0000 (2 08:57 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 4 Dec 2014 12:26:58 +0000 (4 13:26 +0100)
tree70857b6b21c2a9c060c2f100e306e6868918fb13
parent21174ebcc12d327695c04993ca4194bdb24d4631
MDL-48374 behat: improved page load detection

Check that page load detection was correctly started before testing that a
new page was loaded.

Without this, it is possible to have mutliple subsequent cases of:
    And a new page should have loaded since I started watching

Without first starting the page load detection.
lib/tests/behat/behat_general.php