mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-59726-master' of git://github.com/junpataleta/moodle
This commit is contained in:
commit
ab96699e52
@ -29,7 +29,7 @@ Feature: People Block used in a course
|
||||
When I log in as "student1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I click on "Participants" "link" in the "People" "block"
|
||||
Then I should see "All participants" in the "#page-content" "css_element"
|
||||
Then I should see "Participants" in the "#page-content" "css_element"
|
||||
|
||||
Scenario: Student without permission can not view participants link
|
||||
Given the following "permission overrides" exist:
|
||||
|
@ -30,9 +30,10 @@ Feature: Rename roles within a course
|
||||
Then "Tutor" "button" should exist
|
||||
And "Learner" "button" should exist
|
||||
And I navigate to course participants
|
||||
And the "roleid" select box should contain "Tutor"
|
||||
And the "roleid" select box should contain "Learner"
|
||||
And the "roleid" select box should not contain "Student"
|
||||
And I open the autocomplete suggestions list
|
||||
And I should see "Role: Tutor" in the ".form-autocomplete-suggestions" "css_element"
|
||||
And I should see "Role: Learner" in the ".form-autocomplete-suggestions" "css_element"
|
||||
And I should not see "Role: Student" in the ".form-autocomplete-suggestions" "css_element"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to "Edit settings" in current page administration
|
||||
And I set the following fields to these values:
|
||||
@ -44,5 +45,6 @@ Feature: Rename roles within a course
|
||||
And "Student" "button" should exist
|
||||
And "Learner" "button" should not exist
|
||||
And I navigate to course participants
|
||||
And the "roleid" select box should contain "Non-editing teacher"
|
||||
And the "roleid" select box should contain "Student"
|
||||
And I open the autocomplete suggestions list
|
||||
And I should see "Role: Non-editing teacher" in the ".form-autocomplete-suggestions" "css_element"
|
||||
And I should see "Role: Student" in the ".form-autocomplete-suggestions" "css_element"
|
||||
|
@ -47,11 +47,16 @@ Feature: Organize students into groups
|
||||
And the "members" select box should contain "Student 3"
|
||||
And the "members" select box should not contain "Student 0"
|
||||
And I navigate to course participants
|
||||
And I set the field "Separate groups" to "Group 1"
|
||||
And I open the autocomplete suggestions list
|
||||
And I click on "Group: Group 1" item in the autocomplete list
|
||||
And I press "Filter"
|
||||
And I should see "Student 0"
|
||||
And I should see "Student 1"
|
||||
And I should not see "Student 2"
|
||||
And I set the field "Separate groups" to "Group 2"
|
||||
And I click on "Group: Group 1" "text" in the ".form-autocomplete-selection" "css_element"
|
||||
And I open the autocomplete suggestions list
|
||||
And I click on "Group: Group 2" item in the autocomplete list
|
||||
And I press "Filter"
|
||||
And I should see "Student 2"
|
||||
And I should see "Student 3"
|
||||
And I should not see "Student 0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user