Merge branch 'wip-mdl-49513-m27' of https://github.com/rajeshtaneja/moodle into MOODLE_27_STABLE

This commit is contained in:
Andrew Nicols
2015-04-01 18:32:55 +08:00
35 changed files with 142 additions and 175 deletions
+24
View File
@@ -114,6 +114,30 @@ class behat_admin extends behat_base {
}
}
/**
* Sets the specified site settings. A table with | config | value | (optional)plugin | is expected.
*
* @Given /^the following config values are set as admin:$/
* @param TableNode $table
*/
public function the_following_config_values_are_set_as_admin(TableNode $table) {
if (!$data = $table->getRowsHash()) {
return;
}
foreach ($data as $config => $value) {
// Default plugin value is null.
$plugin = null;
if (is_array($value)) {
$plugin = $value[1];
$value = $value[0];
}
set_config($config, $value, $plugin);
}
}
/**
* Waits with the provided params if we are running a JS session.
*
@@ -13,15 +13,13 @@ Feature: Set admin settings value
And I should not see "C_shortname Course fullname"
Scenario: set admin value with full name
Given I set the following administration settings values:
| Display extended course names | 1 |
When I press "Save changes"
Given the following config values are set as admin:
| courselistshortnames | 1 |
And I am on homepage
Then I should see "C_shortname Course fullname"
Scenario: set admin value with short name
Given I set the following administration settings values:
Given the following config values are set as admin:
| courselistshortnames | 1 |
When I press "Save changes"
And I am on homepage
Then I should see "C_shortname Course fullname"
@@ -13,8 +13,8 @@ Feature: Manage availability conditions
Then I should not see "Availability restrictions"
# Enable it and check I can now see and click on it.
And I set the following administration settings values:
| Enable conditional access | 1 |
And the following config values are set as admin:
| enableavailability | 1 |
And I am on homepage
And I navigate to "Manage restrictions" node in "Site administration > Plugins > Availability restrictions"
@@ -28,9 +28,9 @@ Feature: Manage availability conditions
Given the following "courses" exist:
| fullname | shortname | format |
| Course 1 | C1 | topics |
And the following config values are set as admin:
| enableavailability | 1 |
And I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And I am on homepage
When I navigate to "Manage restrictions" node in "Site administration > Plugins > Availability restrictions"
@@ -16,11 +16,9 @@ Feature: availability_completion
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
| Enable completion tracking | 1 |
And I log out
And the following config values are set as admin:
| enableavailability | 1 |
| enablecompletion | 1 |
@javascript
Scenario: Test condition
@@ -16,10 +16,8 @@ Feature: availability_date
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And I log out
And the following config values are set as admin:
| enableavailability | 1 |
@javascript
Scenario: Test condition
@@ -16,10 +16,8 @@ Feature: availability_grade
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And I log out
And the following config values are set as admin:
| enableavailability | 1 |
@javascript
Scenario: Test condition
@@ -16,10 +16,8 @@ Feature: availability_group
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And I log out
And the following config values are set as admin:
| enableavailability | 1 |
@javascript
Scenario: Test condition
@@ -22,10 +22,8 @@ Feature: availability_grouping
And the following "group members" exist:
| user | group |
| student1 | GI1 |
And I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And I log out
And the following config values are set as admin:
| enableavailability | 1 |
@javascript
Scenario: Test condition
@@ -16,10 +16,8 @@ Feature: availability_profile
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And I log out
And the following config values are set as admin:
| enableavailability | 1 |
@javascript
Scenario: Test condition
@@ -34,10 +34,8 @@ Feature: display_availability
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And I log out
And the following config values are set as admin:
| enableavailability | 1 |
@javascript
Scenario: Activity availability display
@@ -39,15 +39,10 @@ Feature: edit_availability
When I edit the section "1"
Then "Restrict access" "fieldset" should not exist
When I log out
And I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And the following config values are set as admin:
| enableavailability | 1 |
When I log out
And I log in as "teacher1"
And I follow "Course 1"
And I turn editing mode on
And I add a "Page" to section "1"
Then "Restrict access" "fieldset" should exist
@@ -58,10 +53,8 @@ Feature: edit_availability
@javascript
Scenario: Edit availability using settings in activity form
# Set up.
Given I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And I log out
Given the following config values are set as admin:
| enableavailability | 1 |
And I log in as "teacher1"
And I follow "Course 1"
@@ -153,10 +146,8 @@ Feature: edit_availability
@javascript
Scenario: Edit availability using settings in section form
# Set up.
Given I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And I log out
Given the following config values are set as admin:
| enableavailability | 1 |
And I log in as "teacher1"
And I follow "Course 1"
And I turn editing mode on
@@ -172,3 +163,4 @@ Feature: edit_availability
And I should not see "None" in the "Restrict access" "fieldset"
And "Restriction type" "select" should be visible
And I should see "Date" in the "Restrict access" "fieldset"
+6 -12
View File
@@ -126,10 +126,9 @@ Feature: Award badges
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable completion tracking | 1 |
And I follow "Home"
And the following config values are set as admin:
| enablecompletion | 1 |
And I log in as "teacher1"
And I follow "Course 1"
And I follow "Edit settings"
And I set the following fields to these values:
@@ -139,8 +138,6 @@ Feature: Award badges
And I add a "Assignment" to section "1" and I fill the form with:
| Assignment name | Test assignment name |
| Description | Submit your online text |
And I log out
And I log in as "teacher1"
And I follow "Course 1"
And I click on "//span[text()='Badges']" "xpath_element" in the "Administration" "block"
And I follow "Add a new badge"
@@ -181,10 +178,9 @@ Feature: Award badges
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable completion tracking | 1 |
And I follow "Home"
And the following config values are set as admin:
| enablecompletion | 1 |
And I log in as "teacher1"
And I follow "Course 1"
And I follow "Edit settings"
And I set the following fields to these values:
@@ -200,8 +196,6 @@ Feature: Award badges
And I click on "Condition: Activity completion" "link"
And I set the field "Assign - Test assignment name" to "1"
And I press "Save changes"
And I log out
And I log in as "teacher1"
And I follow "Course 1"
And I click on "//span[text()='Badges']" "xpath_element" in the "Administration" "block"
And I follow "Add a new badge"
@@ -187,4 +187,4 @@ Feature: Expand the courses nodes within the navigation block
And navigation node "c1" should not be expandable
And navigation node "c2" should be expandable
And navigation node "c3" should not be expandable
And navigation node "c4" should not be expandable
And navigation node "c4" should not be expandable
@@ -29,13 +29,11 @@ Feature: View my courses in navigation block
| student1 | c1 | student |
| student1 | c31 | student |
| student1 | c331 | student |
And I log in as "admin"
@javascript
Scenario: The plain list of enrolled courses is shown
Given I set the following administration settings values:
| Show my course categories | 0 |
And I log out
Given the following config values are set as admin:
| navshowmycoursecategories | 0 |
And I log in as "student1"
When I follow "My home"
Then I should not see "cat1" in the "Navigation" "block"
@@ -49,9 +47,8 @@ Feature: View my courses in navigation block
@javascript
Scenario: The nested list of enrolled courses is shown
Given I set the following administration settings values:
| Show my course categories | 1 |
And I log out
Given the following config values are set as admin:
| navshowmycoursecategories | 1 |
And I log in as "student1"
When I follow "My home"
Then I should see "cat1" in the "Navigation" "block"
@@ -69,10 +66,9 @@ Feature: View my courses in navigation block
@javascript
Scenario: I can expand categories and courses as guest
Given I set the following administration settings values:
| Show my course categories | 1 |
| Show all courses | 1 |
And I log out
Given the following config values are set as admin:
| navshowmycoursecategories | 1 |
| navshowallcourses | 1 |
And I expand "Courses" node
And I should see "cat1" in the "Navigation" "block"
And I should see "cat2" in the "Navigation" "block"
@@ -46,10 +46,8 @@ Feature: View structural changes in recent activity block
| GG3 | G2 |
Scenario: Check that Added module information is displayed respecting view capability
Given I log in as "admin"
And I set the following administration settings values:
| Enable group members only | 1 |
And I log out
Given the following config values are set as admin:
| enablegroupmembersonly | 1 |
And I log in as "teacher1"
And I follow "Course 1"
And I turn editing mode on
@@ -17,11 +17,9 @@ Feature: Allow students to manually mark an activity as complete
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable completion tracking | 1 |
| Enable conditional access | 1 |
And I log out
And the following config values are set as admin:
| enablecompletion | 1 |
| enableavailability | 1 |
And I log in as "teacher1"
And I follow "Course 1"
And I turn editing mode on
@@ -16,10 +16,8 @@ Feature: Restrict activity availability through date conditions
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And I log out
And the following config values are set as admin:
| enableavailability | 1 |
And I log in as "teacher1"
And I follow "Course 1"
And I turn editing mode on
@@ -17,10 +17,8 @@ Feature: Restrict activity availability through grade conditions
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable conditional access | 1 |
And I log out
And the following config values are set as admin:
| enableavailability | 1 |
And I log in as "teacher1"
And I follow "Course 1"
And I turn editing mode on
@@ -16,11 +16,9 @@ Feature: Restrict sections availability through completion or grade conditions
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable completion tracking | 1 |
| Enable conditional access | 1 |
And I log out
And the following config values are set as admin:
| enablecompletion | 1 |
| enableavailability | 1 |
@javascript
Scenario: Show section greyed-out to student when completion condition is not satisfied
@@ -16,9 +16,9 @@ Feature: Allow teachers to manually mark users as complete when configured
| user | course | role |
| student1 | CC1 | student |
| teacher1 | CC1 | editingteacher |
And the following config values are set as admin:
| enablecompletion | 1 |
And I log in as "admin"
And I set the following administration settings values:
| Enable completion tracking | 1 |
And I am on homepage
And I follow "Completion course"
And completion tracking is "Enabled" in current course
@@ -8,9 +8,9 @@ Feature: Edit completion settings of an activity
Given the following "courses" exist:
| fullname | shortname | enablecompletion |
| Course 1 | C1 | 1 |
And the following config values are set as admin:
| enablecompletion | 1 |
And I log in as "admin"
And I set the following administration settings values:
| Enable completion tracking | 1 |
And I am on homepage
And I follow "Course 1"
And I turn editing mode on
+8 -10
View File
@@ -9,11 +9,10 @@ Feature: Course files
Given the following "courses" exist:
| fullname | shortname | category | legacyfiles |
| Course 1 | C1 | 0 | 2 |
And I log in as "admin"
And I set the following administration settings values:
| Legacy course files in new courses | 1 |
| Allow adding to legacy course files | 1 |
When I follow "Home"
And the following config values are set as admin:
| legacyfilesinnewcourses | 1 |
| legacyfilesaddallowed | 1 |
When I log in as "admin"
And I follow "Course 1"
Then I should see "Legacy course files"
And I follow "Legacy course files"
@@ -26,11 +25,10 @@ Feature: Course files
Given the following "courses" exist:
| fullname | shortname | category | legacyfiles |
| Course 1 | C1 | 0 | 2 |
And I log in as "admin"
And I set the following administration settings values:
| Legacy course files in new courses | 1 |
| Allow adding to legacy course files | 0 |
When I follow "Home"
And the following config values are set as admin:
| legacyfilesinnewcourses | 1 |
| legacyfilesaddallowed | 0 |
When I log in as "admin"
And I follow "Course 1"
Then I should see "Legacy course files"
And I follow "Legacy course files"
@@ -16,8 +16,8 @@ Feature: Add or remove items from the TinyMCE editor toolbar
@javascript
Scenario: Remove icons
When I set the following administration settings values:
| Editor toolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen |
When the following config values are set as admin:
| customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen | editor_tinymce |
And I am on homepage
And I follow "Course 1"
And I turn editing mode on
@@ -28,16 +28,16 @@ Feature: Add or remove items from the TinyMCE editor toolbar
@javascript
Scenario: Add icons
When I set the following administration settings values:
| Editor toolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen,anchor |
When the following config values are set as admin:
| customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen,anchor | editor_tinymce |
And I am on homepage
And I follow "Course 1"
And I turn editing mode on
And I add a "Database" to section "1"
Then "#id_introeditor_tbl .mce_bold" "css_element" should not exist
And "#id_introeditor_tbl .mce_anchor" "css_element" should exist
And I set the following administration settings values:
| Editor toolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen |
And the following config values are set as admin:
| customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen | editor_tinymce |
And I am on homepage
And I follow "Course 1"
And I add a "Database" to section "1"
@@ -18,11 +18,10 @@ Feature: Outcome grading
| teacher1 | C1 | editingteacher |
| student0 | C1 | student |
| student1 | C1 | student |
And the following config values are set as admin:
| enableoutcomes | 1 |
And I log in as "admin"
And I set the following administration settings values:
| Enable outcomes | 1 |
And I expand "Grades" node
And I follow "Scales"
And I navigate to "Scales" node in "Site administration > Grades"
And I press "Add a new scale"
And I set the following fields to these values:
| Name | Test Scale |
+3 -5
View File
@@ -58,11 +58,9 @@ Feature: In an assignment, teachers grade multiple students on one page
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
| student2 | C1 | student |
When I log in as "admin"
And I set the following administration settings values:
| Enable outcomes | 1 |
And I log out
And I log in as "teacher1"
And the following config values are set as admin:
| enableoutcomes | 1 |
When I log in as "teacher1"
And I follow "Course 1"
And I follow "Outcomes"
And I follow "Edit outcomes"
@@ -17,11 +17,9 @@ Feature: Set a certain number of discussions as a completion condition for a for
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Enable completion tracking | 1 |
| Enable conditional access | 1 |
And I log out
And the following config values are set as admin:
| enablecompletion | 1 |
| enableavailability | 1 |
And I log in as "teacher1"
And I follow "Course 1"
And I turn editing mode on
@@ -34,10 +34,8 @@ Feature: As a teacher I need to see an accurate list of subscribed users
And the following "grouping groups" exist:
| grouping | group |
| GG1 | G1 |
And I log in as "admin"
And I set the following administration settings values:
| Enable group members only | 1 |
And I log out
And the following config values are set as admin:
| enablegroupmembersonly | 1 |
And I log in as "teacher"
And I follow "Course 1"
And I turn editing mode on
+12 -12
View File
@@ -82,8 +82,8 @@ Feature: A teacher can set one of 3 possible options for tracking read forum pos
@javascript
Scenario: Tracking forum posts forced with user tracking on
Given I set the following administration settings values:
| Allow forced read tracking | 1 |
Given the following config values are set as admin:
| forum_allowforcedreadtracking | 1 |
And I follow "Home"
And I follow "Course 1"
Given I add a "Forum" to section "1" and I fill the form with:
@@ -106,8 +106,8 @@ Feature: A teacher can set one of 3 possible options for tracking read forum pos
@javascript
Scenario: Tracking forum posts forced with user tracking off
Given I set the following administration settings values:
| Allow forced read tracking | 1 |
Given the following config values are set as admin:
| forum_allowforcedreadtracking | 1 |
And I follow "Home"
And I follow "Course 1"
Given I add a "Forum" to section "1" and I fill the form with:
@@ -130,8 +130,8 @@ Feature: A teacher can set one of 3 possible options for tracking read forum pos
@javascript
Scenario: Tracking forum posts forced (with force disabled) with user tracking on
Given I set the following administration settings values:
| Allow forced read tracking | 1 |
Given the following config values are set as admin:
| forum_allowforcedreadtracking | 1 |
And I follow "Home"
And I follow "Course 1"
Given I add a "Forum" to section "1" and I fill the form with:
@@ -142,8 +142,8 @@ Feature: A teacher can set one of 3 possible options for tracking read forum pos
And I add a new discussion to "Test forum name" forum with:
| Subject | Test post subject |
| Message | Test post message |
And I set the following administration settings values:
| Allow forced read tracking | 0 |
And the following config values are set as admin:
| forum_allowforcedreadtracking | 0 |
And I log out
When I log in as "student1"
And I follow "Course 1"
@@ -162,8 +162,8 @@ Feature: A teacher can set one of 3 possible options for tracking read forum pos
@javascript
Scenario: Tracking forum posts forced (with force disabled) with user tracking off
Given I set the following administration settings values:
| Allow forced read tracking | 1 |
Given the following config values are set as admin:
| forum_allowforcedreadtracking | 1 |
And I follow "Home"
And I follow "Course 1"
Given I add a "Forum" to section "1" and I fill the form with:
@@ -174,8 +174,8 @@ Feature: A teacher can set one of 3 possible options for tracking read forum pos
And I add a new discussion to "Test forum name" forum with:
| Subject | Test post subject |
| Message | Test post message |
And I set the following administration settings values:
| Allow forced read tracking | 0 |
And the following config values are set as admin:
| forum_allowforcedreadtracking | 0 |
And I log out
When I log in as "student2"
And I follow "Course 1"
@@ -17,10 +17,8 @@ Feature: A teacher can set whether glossary entries are always editable or not
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I set the following administration settings values:
| Maximum time to edit posts | 1 minutes |
And I log out
And the following config values are set as admin:
| maxeditingtime | 60 |
And I log in as "teacher1"
And I follow "Course 1"
And I turn editing mode on
+4 -4
View File
@@ -21,8 +21,8 @@ Feature: In a report, admin can filter log data
Scenario: Filter log report for standard and legacy log reader
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And I click on "Enable" "link" in the "Legacy log" "table_row"
And I set the following administration settings values:
| Log legacy data | 1 |
And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy |
And I follow "Home"
And I follow "Course 1"
And I navigate to "Participants" node in "Current course > C1"
@@ -62,8 +62,8 @@ Feature: In a report, admin can filter log data
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And I click on "Enable" "link" in the "Legacy log" "table_row"
And I click on "Disable" "link" in the "Standard log" "table_row"
And I set the following administration settings values:
| Log legacy data | 1 |
And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy |
And I follow "Home"
And I follow "Course 1"
And I follow "Home"
@@ -11,8 +11,8 @@ Feature: In a report, admin can see loglive data
And I log in as "admin"
And I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And I click on "Enable" "link" in the "Legacy log" "table_row"
And I set the following administration settings values:
| Log legacy data | 1 |
And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy |
And I am on homepage
And I follow "Course 1"
And I turn editing mode on
+4 -4
View File
@@ -33,8 +33,8 @@ Feature: View an outline report
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And I click on "Enable" "link" in the "Legacy log" "table_row"
And I click on "Disable" "link" in the "Standard log" "table_row"
And I set the following administration settings values:
| Log legacy data | 1 |
And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy |
And I log out
And I log in as "student1"
And I follow "Course 1"
@@ -79,8 +79,8 @@ Feature: View an outline report
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And I click on "Enable" "link" in the "Legacy log" "table_row"
And "Disable" "link" should exist in the "Standard log" "table_row"
And I set the following administration settings values:
| Log legacy data | 1 |
And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy |
And I log out
And I log in as "student1"
And I follow "Course 1"
+4 -4
View File
@@ -32,8 +32,8 @@ Feature: View the user page for the outline report
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And I click on "Enable" "link" in the "Legacy log" "table_row"
And I click on "Disable" "link" in the "Standard log" "table_row"
And I set the following administration settings values:
| Log legacy data | 1 |
And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy |
And I log out
And I log in as "student1"
And I follow "Course 1"
@@ -84,8 +84,8 @@ Feature: View the user page for the outline report
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And I click on "Enable" "link" in the "Legacy log" "table_row"
And "Disable" "link" should exist in the "Standard log" "table_row"
And I set the following administration settings values:
| Log legacy data | 1 |
And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy |
And I log out
And I log in as "student1"
And I follow "Course 1"
@@ -34,8 +34,8 @@ Feature: In a participation report, admin can filter student actions
And I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And I click on "Disable" "link" in the "Standard log" "table_row"
And I click on "Enable" "link" in the "Legacy log" "table_row"
And I set the following administration settings values:
| Log legacy data | 1 |
And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy |
And I log out
And I log in as "student1"
And I follow "Course 1"
@@ -55,8 +55,8 @@ Feature: In a participation report, admin can filter student actions
And I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And I click on "Disable" "link" in the "Standard log" "table_row"
And I click on "Enable" "link" in the "Legacy log" "table_row"
And I set the following administration settings values:
| Log legacy data | 1 |
And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy |
And I log out
And I log in as "student1"
And I follow "Course 1"
+2 -4
View File
@@ -40,10 +40,8 @@ Feature: Access to full profiles of users
@javascript
Scenario: Viewing full profiles with forceloginforprofiles off
Given I log in as "admin"
And I set the following administration settings values:
| Force users to log in for profiles | 0 |
And I log out
Given the following config values are set as admin:
| forceloginforprofiles | 0 |
When I log in as "student1"
And I follow "Course 1"
And I navigate to "Participants" node in "Current course > C1"