summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests
diff options
context:
space:
mode:
authortof <>2008-07-17 08:52:51 +0000
committertof <>2008-07-17 08:52:51 +0000
commit5e82afde4d98b26b36fc14980efa75393d6ef77e (patch)
treeb733b5bbe4212f5b680620c361fa263f98149d2d /tests/FunctionalTests/tickets/tests
parente3cddec252962c208829dd62157fa5f289942b5e (diff)
Added TestCase for #698
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket698TestCase.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket698TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket698TestCase.php
new file mode 100644
index 00000000..30911d5d
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket698TestCase.php
@@ -0,0 +1,20 @@
+<?php
+class Ticket698TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket698');
+ $this->assertTitle("Verifying Ticket 698");
+
+ $this->click($base."switchContentTypeButton");
+ $this->pause(800);
+ $this->assertVisible($base."EditHtmlTextBox");
+ $this->pause(800);
+ $this->click($base."switchContentTypeButton");
+ $this->pause(1000);
+ $this->assertNotVisible($base."EditHtmlTextBox");
+ }
+
+}
+?> \ No newline at end of file