mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-50516 mod_lesson: changes to existing behat tests
This commit is contained in:
parent
ecaff8f042
commit
ab2d8946cd
1 changed files with 2 additions and 3 deletions
|
@ -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:
|
And I set the following fields to these values:
|
||||||
| Your answer | 2 |
|
| Your answer | 2 |
|
||||||
And I press "Submit"
|
And I press "Submit"
|
||||||
And I should see "Correct answer"
|
And I should see "Maximum number of attempts reached - Moving to next page"
|
||||||
And I should not see "Incorrect answer"
|
|
||||||
And I press "Continue"
|
And I press "Continue"
|
||||||
And I should see "Congratulations - end of lesson reached"
|
And I should see "Congratulations - end of lesson reached"
|
||||||
And I should see "Your score is 0 (out of 1)."
|
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:
|
And I set the following fields to these values:
|
||||||
| wrong | 1 |
|
| wrong | 1 |
|
||||||
And I press "Submit"
|
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 press "Continue"
|
||||||
And I should see "Congratulations - end of lesson reached"
|
And I should see "Congratulations - end of lesson reached"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue