MDL-48374 behat: improved page load detection
authorAndrew Nicols <andrew@nicols.co.uk>
Tue, 2 Dec 2014 00:57:38 +0000 (08:57 +0800)
committerDan Poltawski <dan@moodle.com>
Thu, 4 Dec 2014 12:04:36 +0000 (12:04 +0000)
commit1b2c35af340277b448a183af2c1b04e11244cbea
treeb234bae9c523dcc6e89af599c24c69c7ee948924
parent951af91e083b3049ba13f8fceda7c5685251afd8
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