diff options
author | Christophe.Boulain <> | 2010-01-11 12:48:47 +0000 |
---|---|---|
committer | Christophe.Boulain <> | 2010-01-11 12:48:47 +0000 |
commit | d93af5633b1459cb670904b16c914e7313bbc576 (patch) | |
tree | 06d912ee6db123b968d3e2347886e2417e676326 /tests/FunctionalTests/tickets/tests/Issue216TestCase.php | |
parent | 3b9672007e822483653deaf8f1c117d6ecc58309 (diff) |
Fixed Issue#216
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Issue216TestCase.php')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Issue216TestCase.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Issue216TestCase.php b/tests/FunctionalTests/tickets/tests/Issue216TestCase.php new file mode 100644 index 00000000..1cfdf0cd --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Issue216TestCase.php @@ -0,0 +1,28 @@ +<?php
+
+class Issue216TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Issue216');
+ $this->assertTextPresent('TTabPanel doesn\'t preserve active tab on callback request');
+
+ $this->assertVisible('ctl0_Content_tab1');
+
+ $this->click("ctl0_Content_btn1");
+ $this->pause(800);
+
+ $this->assertText("ctl0_Content_result", "Tab ActiveIndex is : 0");
+
+ $this->click("ctl0_Content_tab2_0");
+ $this->pause(800);
+
+ $this->assertVisible('ctl0_Content_tab2');
+
+ $this->click("ctl0_Content_btn1");
+ $this->pause(800);
+ $this->assertText("ctl0_Content_result", "Tab ActiveIndex is : 1");
+ }
+}
+
+?>
\ No newline at end of file |