summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests
diff options
context:
space:
mode:
authortof <>2008-03-13 15:37:41 +0000
committertof <>2008-03-13 15:37:41 +0000
commit8024b179ed3657b1e43e9684105a172a287700b9 (patch)
treede8a7df03a4f8bddc97a58e3781402d30e50b5fb /tests/FunctionalTests/tickets/tests
parentbbd920258f436b5c1ff3c151f01f03089fbc24ad (diff)
Test case for #769
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket769TestCase.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket769TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket769TestCase.php
new file mode 100644
index 00000000..3a993d87
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket769TestCase.php
@@ -0,0 +1,37 @@
+<?php
+
+class Ticket769TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base="ctl0_Content_";
+ $this->open('tickets/index.php?page=Ticket769');
+ $this->assertTitle("Verifying Ticket 769");
+
+ $this->click($base.'ctl0');
+ $this->assertVisible($base.'ctl1');
+
+ $this->type($base.'T1', 'Prado');
+ $this->click($base.'ctl0');
+ $this->pause(800);
+ $this->assertNotVisible($base.'ctl1');
+ $this->verifyTextPresent($base.'ctl0', 'T1 clicked' );
+
+ $this->click($base.'ctl2');
+ $this->pause(800);
+ $this->verifyTextPresent($base.'B', 'This is B');
+ $this->click($base.'ctl3');
+ $this->pause(800);
+
+ $this->type($base.'T1', '');
+ $this->click($base.'ctl0');
+ $this->assertVisible($base.'ctl1');
+ $this->type($base.'T1', 'Prado');
+ $this->click($base.'ctl0');
+ $this->pause(800);
+ $this->assertNotVisible($base.'ctl1');
+ $this->verifyTextPresent($base.'ctl0', 'T1 clicked clicked' );
+
+ }
+}
+?> \ No newline at end of file