mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-38106 lesson: behat now sets introduction
This commit is contained in:
parent
d83891729a
commit
5b17d81dce
@ -159,6 +159,7 @@ Feature: Verify that all form fields values can be get and set
|
||||
And I add a "Lesson" to section "1"
|
||||
And I set the following fields to these values:
|
||||
| Name | Test lesson |
|
||||
| Description | Test lesson description |
|
||||
| available[enabled] | 1 |
|
||||
And I set the field "deadline[enabled]" to "1"
|
||||
# Checkbox (AJAX) - Checking "the field matches value" before saving.
|
||||
|
@ -27,6 +27,7 @@ Feature: A teacher can set available from and deadline dates to access a lesson
|
||||
And I click on "id_available_enabled" "checkbox"
|
||||
And I set the following fields to these values:
|
||||
| Name | Test lesson |
|
||||
| Description | Test lesson description |
|
||||
| available[day] | 1 |
|
||||
| available[month] | January |
|
||||
| available[year] | 2020 |
|
||||
@ -54,6 +55,7 @@ Feature: A teacher can set available from and deadline dates to access a lesson
|
||||
And I click on "id_deadline_enabled" "checkbox"
|
||||
And I set the following fields to these values:
|
||||
| Name | Test lesson |
|
||||
| Description | Test lesson description |
|
||||
| deadline[day] | 1 |
|
||||
| deadline[month] | January |
|
||||
| deadline[year] | 2000 |
|
||||
|
@ -22,6 +22,7 @@ Feature: In a lesson activity, students can navigate through a series of pages i
|
||||
And I turn editing mode on
|
||||
And I add a "Lesson" to section "1" and I fill the form with:
|
||||
| Name | Test lesson name |
|
||||
| Description | Test lesson description |
|
||||
And I follow "Test lesson name"
|
||||
And I follow "Add a content page"
|
||||
And I set the following fields to these values:
|
||||
|
@ -22,6 +22,7 @@ Feature: In a lesson activity, students can review the answers they gave to ques
|
||||
And I turn editing mode on
|
||||
And I add a "Lesson" to section "1" and I fill the form with:
|
||||
| Name | Test lesson name |
|
||||
| Description | Test lesson description |
|
||||
| Display ongoing score | Yes |
|
||||
| Slideshow | Yes |
|
||||
| Maximum number of answers | 10 |
|
||||
|
@ -22,6 +22,7 @@ Feature: A teacher can password protect a lesson
|
||||
And I turn editing mode on
|
||||
And I add a "Lesson" to section "1" and I fill the form with:
|
||||
| Name | Test lesson |
|
||||
| Description | Test lesson description |
|
||||
| Password protected lesson | Yes |
|
||||
| id_password | moodle_rules |
|
||||
And I follow "Test lesson"
|
||||
|
@ -22,6 +22,7 @@ Feature: A teacher can set a time limit for a lesson
|
||||
And I turn editing mode on
|
||||
And I add a "Lesson" to section "1" and I fill the form with:
|
||||
| Name | Test lesson |
|
||||
| Description | Test lesson description |
|
||||
| timed | 1 |
|
||||
| maxtime | 1 |
|
||||
And I follow "Test lesson"
|
||||
|
Loading…
x
Reference in New Issue
Block a user