X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/admin/tool/admin_presets/tests/behat
home
/
cbholdings
/
pasukulu
/
admin
/
tool
/
admin_presets
/
tests
/
behat
/
📁
..
📄
apply_presets.feature
(10.08 KB)
📄
behat_admin_presets.php
(5.74 KB)
📄
delete.feature
(2.4 KB)
📄
download.feature
(853 B)
📄
export_settings.feature
(1.79 KB)
📄
import_file.feature
(3.63 KB)
📄
revert_changes.feature
(3.39 KB)
Editing: export_settings.feature
@tool @tool_admin_presets @javascript Feature: I can add a new preset with current settings Background: Given I log in as "admin" And I navigate to "Site admin presets" in site administration Scenario: Export settings with an existing name Given I should see "Starter" And I click on "Create preset" "button" And I set the field "Name" to "Starter" And I set the field "Description" to "Non-core starter preset" When I click on "Create preset" "button" Then the following should exist in the "Site admin presets table" table: | Name | Description | | Starter | Moodle with all of the most popular features, including Assignment, Feedback, Forum, H5P, Quiz and Completion tracking. | | Full | All the Starter features plus External (LTI) tool, SCORM, Workshop, Analytics, Badges, Competencies, Learning plans and lots more. | | Starter | Non-core starter preset | Scenario: Export current settings Given I click on "Create preset" "button" And I set the field "Name" to "Current" And I click on "Create preset" "button" And I should see "Current" And I open the action menu in "Current" "table_row" When I choose "Review settings and apply" in the open action menu And I should not see "Setting changes" And I click on "Continue" "button" And the following config values are set as admin: | enableportfolios | 1 | And I open the action menu in "Current" "table_row" And I choose "Review settings and apply" in the open action menu Then I should see "Setting changes"
Upload File
Create Folder