diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket585TestCase.php')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket585TestCase.php | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket585TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket585TestCase.php index cbcb7bb2..2b3f671b 100644 --- a/tests/FunctionalTests/tickets/tests/Ticket585TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket585TestCase.php @@ -1,27 +1,27 @@ -<?php
-
-class Ticket585TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket585');
- $this->verifyTitle("Verifying Ticket 585", "");
-
- $this->assertText("error", "");
- $this->assertNotVisible("{$base}validator1");
-
- $this->click("{$base}button1");
- $this->pause(800);
- $this->assertText("error", "Success");
- $this->assertNotVisible("{$base}validator1");
-
- $this->type("{$base}test", "15-03-2007");
- $this->click("{$base}button1");
- $this->pause(800);
- $this->assertText("error", "Error");
- $this->assertVisible("{$base}validator1");
- }
-}
-
+<?php + +class Ticket585TestCase extends SeleniumTestCase +{ + function test() + { + $base = 'ctl0_Content_'; + $this->open('tickets/index.php?page=Ticket585'); + $this->verifyTitle("Verifying Ticket 585", ""); + + $this->assertText("error", ""); + $this->assertNotVisible("{$base}validator1"); + + $this->click("{$base}button1"); + $this->pause(800); + $this->assertText("error", "Success"); + $this->assertNotVisible("{$base}validator1"); + + $this->type("{$base}test", "15-03-2007"); + $this->click("{$base}button1"); + $this->pause(800); + $this->assertText("error", "Error"); + $this->assertVisible("{$base}validator1"); + } +} + ?>
\ No newline at end of file |