From 4ab766dc6ca1d5e294d2b2f34d2198ce9583fbd2 Mon Sep 17 00:00:00 2001 From: tof <> Date: Fri, 11 Apr 2008 08:23:36 +0000 Subject: TestCase for #828 --- .../tickets/tests/Ticket828TestCase.php | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tests/FunctionalTests/tickets/tests/Ticket828TestCase.php (limited to 'tests/FunctionalTests/tickets/tests/Ticket828TestCase.php') diff --git a/tests/FunctionalTests/tickets/tests/Ticket828TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket828TestCase.php new file mode 100644 index 00000000..0c753a63 --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket828TestCase.php @@ -0,0 +1,41 @@ +skipBrowsers(self::OPERA); + + $base = "ctl0_Content_"; + $this->open("tickets/index.php?page=Ticket828"); + $this->click("{$base}submit1"); + $this->assertVisible("{$base}validator1"); + $this->assertVisible("{$base}validator2"); + $this->assertVisible("{$base}validator3"); + $this->click("{$base}list1_c0"); + $this->addSelection("{$base}list2", "label=One"); + $this->addSelection("{$base}list2", "label=Two"); + $this->click("{$base}list3_c3"); + $this->clickAndWait("{$base}submit1"); + $this->assertNotVisible("{$base}validator1"); + $this->assertNotVisible("{$base}validator2"); + $this->assertNotVisible("{$base}validator3"); + $this->click("{$base}list1_c1"); + $this->click("{$base}list1_c2"); + $this->click("{$base}list1_c3"); + $this->addSelection("{$base}list2", "label=Two"); + $this->click("{$base}list1_c3"); + $this->clickAndWait("{$base}submit1"); + $this->assertNotVisible("{$base}validator1"); + $this->assertNotVisible("{$base}validator2"); + $this->assertNotVisible("{$base}validator3"); + $this->click("{$base}list3_c3"); + $this->clickAndWait("{$base}submit1"); + $this->pause(200); + $this->assertNotVisible("{$base}validator1"); + $this->assertNotVisible("{$base}validator2"); + $this->assertNotVisible("{$base}validator3"); + } +} +?> \ No newline at end of file -- cgit v1.2.3