mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 16:40:07 +01:00
Merge branch 'MDL-64943' of git://github.com/stronk7/moodle
This commit is contained in:
commit
fec8550675
@ -71,7 +71,7 @@ Feature: Managers can manage course custom fields select
|
||||
| Name | Test field |
|
||||
| Short name | testfield |
|
||||
And I press "Save changes"
|
||||
And I should see "Please provide at least two options separated with a newline" in the "Menu options (one per line)" "form_row"
|
||||
And I should see "Please provide at least two options, with each on a new line." in the "Menu options (one per line)" "form_row"
|
||||
And I set the field "Menu options (one per line)" to multiline:
|
||||
"""
|
||||
a
|
||||
@ -79,7 +79,7 @@ Feature: Managers can manage course custom fields select
|
||||
"""
|
||||
And I set the field "Default value" to "c"
|
||||
And I press "Save changes"
|
||||
And I should see "Default value must be one of the options from the list above" in the "Default value" "form_row"
|
||||
And I should see "The default value must be one of the options from the list above" in the "Default value" "form_row"
|
||||
And I set the field "Default value" to "b"
|
||||
And I press "Save changes"
|
||||
And "testfield" "text" should exist in the "Test field" "table_row"
|
||||
|
@ -33,7 +33,7 @@ Feature: Restrict availability of the choice module to a deadline
|
||||
When I log in as "student1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Choice name"
|
||||
Then I should see "Sorry, this activity is not available until"
|
||||
Then I should see "This activity is not available until"
|
||||
|
||||
Scenario: Enable the choice activity with a start deadline in the past
|
||||
Given I add a "Choice" to section "1" and I fill the form with:
|
||||
@ -85,4 +85,4 @@ Feature: Restrict availability of the choice module to a deadline
|
||||
When I log in as "student1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Choice name"
|
||||
Then I should see "Sorry, this activity closed on"
|
||||
Then I should see "This activity closed on"
|
||||
|
Loading…
x
Reference in New Issue
Block a user