From 94e94e0a8566f23d16658a04c55b0bbfdd6689aa Mon Sep 17 00:00:00 2001 From: "godzilla80@gmx.net" <> Date: Sun, 14 Feb 2010 01:22:57 +0000 Subject: Merge Branches & Trunk /trunk:r2680,2692,2707-2736 /branches/3.1:r2682-2686,2694-2702,2705,2738-2762 --- .../tickets/tests/Issue216TestCase.php | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/FunctionalTests/tickets/tests/Issue216TestCase.php (limited to 'tests/FunctionalTests/tickets/tests') 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 @@ +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 -- cgit v1.2.3