MDL-52606 behat: Added time delay to avoid random fails
authorRajesh Taneja <rajesh@moodle.com>
Thu, 24 Dec 2015 05:43:01 +0000 (13:43 +0800)
committerRajesh Taneja <rajesh@moodle.com>
Thu, 24 Dec 2015 06:00:17 +0000 (14:00 +0800)
commit26b9181b1bdc864e44c1d8d5c5fc5a7fa0e9f518
treec75661de1c4e15dfc1779eaf35b6aab5a695a0f5
parentafbb53d70b6f53d529c568e87305bfb187601239
MDL-52606 behat: Added time delay to avoid random fails

If attempts are created at same timestamp, then results are
not same, and lesson module finds that attmpt was in progress.
To avoid this problem, attempts should be created at different
timestamp.
mod/lesson/tests/behat/completion_condition_time_spent.feature
mod/lesson/tests/behat/date_availability.feature
mod/lesson/tests/behat/lesson_student_resume.feature