summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket578TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket578TestCase.php')
-rwxr-xr-xtests/FunctionalTests/tickets/tests/Ticket578TestCase.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket578TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket578TestCase.php
index 3adb107c..948d8642 100755
--- a/tests/FunctionalTests/tickets/tests/Ticket578TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket578TestCase.php
@@ -14,7 +14,12 @@ class Ticket578TestCase extends PradoGenericSelenium2Test
$this->assertText("{$base}label1", "Button 1 was clicked :");
$text="helloworld";
- $this->runScript("tinyMCE.get('{$base}text1').setContent('{$text}')");
+
+ $this->execute(array(
+ 'script' => "tinyMCE.get('{$base}text1').setContent('{$text}')",
+ 'args' => array()
+ ));
+
$this->byId("{$base}button1")->click();
$this->pause(800);
$this->assertText("{$base}label1", "Button 1 was clicked : <p>{$text}</p>");