__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@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 "reportbuilder-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 press "Review settings and apply" action in the "Current" report row
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 press "Review settings and apply" action in the "Current" report row
Then I should see "Setting changes"
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| apply_presets.feature | File | 9.54 KB | 0777 |
|
| behat_admin_presets.php | File | 5.74 KB | 0777 |
|
| delete.feature | File | 2.29 KB | 0777 |
|
| download.feature | File | 989 B | 0777 |
|
| export_settings.feature | File | 1.66 KB | 0777 |
|
| import_file.feature | File | 3.62 KB | 0777 |
|
| presets_list.feature | File | 1.62 KB | 0777 |
|
| revert_changes.feature | File | 3.13 KB | 0777 |
|