MDL-50516 mod_lesson: changes to existing behat tests

This commit is contained in:
Mark Nelson
2015-09-09 15:33:05 +08:00
committed by Andrew Nicols
parent 1d017fb8cd
commit 748d8a982b
@@ -83,8 +83,7 @@ Feature: In a lesson activity, students can navigate through a series of pages i
And I set the following fields to these values:
| Your answer | 2 |
And I press "Submit"
And I should see "Correct answer"
And I should not see "Incorrect answer"
And I should see "Maximum number of attempts reached - Moving to next page"
And I press "Continue"
And I should see "Congratulations - end of lesson reached"
And I should see "Your score is 0 (out of 1)."
@@ -126,6 +125,6 @@ Feature: In a lesson activity, students can navigate through a series of pages i
And I set the following fields to these values:
| wrong | 1 |
And I press "Submit"
And I should see "(Maximum number of attempts reached - Moving to next page)"
And I should not see "Yes, I'd like to try again"
And I press "Continue"
And I should see "Congratulations - end of lesson reached"