MDL-50516 mod_lesson: changes to existing behat tests
This commit is contained in:
committed by
Andrew Nicols
parent
be1f371d0d
commit
63c2a82186
@@ -84,8 +84,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)."
|
||||
@@ -128,6 +127,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"
|
||||
|
||||
Reference in New Issue
Block a user