mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
MDL-50516 mod_lesson: changes to existing behat tests
This commit is contained in:
parent
ecaff8f042
commit
ab2d8946cd
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user