░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/moodle/public/enrol/tests/behat
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: enrol_user.feature
@enrol Feature: User can be enrolled into a course In order to let them participate in course activities As an admin I must be able to enrol users Background: Given the following "users" exist: | username | firstname | lastname | email | | student1 | Studie | One | student1@example.com | And the following "courses" exist: | fullname | shortname | | Course 001 | C001 | And I log in as "admin" And I am on "Course 001" course homepage Scenario: User can be enrolled without javascript When I enrol "Studie One" user as "Student" And I am on the "Course 001" "Enrolled users" page Then I should see "Studie One" @javascript Scenario: User can be enrolled with javascript enrol element When I enrol "Studie One" user as "Student" And I am on the "Course 001" "Enrolled users" page Then I should see "Studie One"
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 add_to_group.feature
FEATURE
1.4 KB
2026-02-11 01:44
EDIT
📄 behat_enrol.php
PHP
4.6 KB
2026-02-11 01:44
EDIT
📄 enrol_user.feature
FEATURE
922 B
2026-02-11 01:44
EDIT
📄 role_visibility.feature
FEATURE
1.8 KB
2026-02-11 01:44
EDIT