X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/grade/report/user/tests/behat
home
/
cbholdings
/
pasukulu
/
grade
/
report
/
user
/
tests
/
behat
/
📁
..
📄
groupsearch.feature
(4.14 KB)
📄
toggle_grade_categories.feature
(3.21 KB)
📄
user_report_navigation.feature
(3.92 KB)
📄
user_view.feature
(15.91 KB)
📄
usersearch.feature
(1.84 KB)
📄
view_usereport.feature
(6.23 KB)
Editing: usersearch.feature
@core @core_grades @gradereport_user @javascript Feature: Within the User report, a teacher can search for users. Background: Given the following "courses" exist: | fullname | shortname | category | groupmode | | Course 1 | C1 | 0 | 1 | And the following "users" exist: | username | firstname | lastname | email | idnumber | | teacher1 | Teacher | 1 | teacher1@example.com | t1 | | student1 | Student | 1 | student1@example.com | s1 | | student2 | Student | 2 | student2@example.com | s2 | | student32 | Student | 32 | student32@example.com | s32 | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | | student1 | C1 | student | | student2 | C1 | student | | student32 | C1 | student | And I am on the "Course 1" "Course" page logged in as "teacher1" And I change window size to "large" Scenario: A teacher can search for and find a user to view Given I navigate to "View > User report" in the course gradebook When I click on ".search-widget[data-searchtype='user']" "css_element" Then I confirm "Student 1" in "user" search within the gradebook widget exists And I confirm "Student 2" in "user" search within the gradebook widget exists And I confirm "Student 32" in "user" search within the gradebook widget exists And I set the field "Search users" to "2" And I wait "1" seconds And I confirm "Student 2" in "user" search within the gradebook widget exists And I confirm "Student 32" in "user" search within the gradebook widget exists And I confirm "Student 1" in "user" search within the gradebook widget does not exist
Upload File
Create Folder