X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/course/format/tests/behat
home
/
cbholdings
/
pasukulu
/
course
/
format
/
tests
/
behat
/
π
..
π
bulk_activity_actions.feature
(10.85 KB)
π
bulk_section_actions.feature
(12.99 KB)
π
bulk_select.feature
(12.21 KB)
π
bulk_show_one_section_actions.feature
(5.65 KB)
π
content_preferences.feature
(4.21 KB)
π
course_courseindex.feature
(18.41 KB)
π
course_manageactivities.feature
(3.56 KB)
π
courseindex_completion.feature
(6.22 KB)
π
courseindex_keyboardnav.feature
(4.88 KB)
π
courseindex_language.feature
(1.46 KB)
π
duplicate_section.feature
(1.52 KB)
π
movecm_keyboard.feature
(4.54 KB)
π
movesection_keyboard.feature
(2.39 KB)
π
section_visibility.feature
(2.45 KB)
Editing: courseindex_language.feature
@core @core_course @core_courseformat Feature: The course index language should change according to user preferences. As a user in a course I should see the same language in the course index and the course content when I switch languages. Background: Given remote langimport tests are enabled And the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | | student1 | Student | 1 | student1@example.com | And the following "course" exists: | fullname | Course 1 | | shortname | C1 | | category | 0 | | enablecompletion | 1 | | numsections | 4 | And the following "course enrolments" exist: | user | course | role | | student1 | C1 | student | | teacher1 | C1 | editingteacher | And the following "language pack" exists: | language | fr | And I change window size to "large" @javascript Scenario Outline: Course index is refreshed when we change language. Given I am on the "C1" "Course" page logged in as "<user>" When I follow "Language" in the user menu Then I should see "Language selector" user submenu And I follow "FranΓ§ais β(fr)β" Then I should see "GΓ©nΓ©ralitΓ©s" in the "courseindex-content" "region" Examples: | user | | student1 | | teacher1 |
Upload File
Create Folder