diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket876TestCase.php')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket876TestCase.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket876TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket876TestCase.php new file mode 100644 index 00000000..0ad9ebfa --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket876TestCase.php @@ -0,0 +1,23 @@ +<?php + +class Ticket876TestCase extends SeleniumTestCase { + + public function test() { + $this->open('tickets/index.php?page=Ticket876'); + $this->assertTitle("Verifying Ticket 876"); + $base = 'ctl0_Content_'; + + $this->assertElementPresent('xpath=//link[@rel="stylesheet"]'); + $this->clickAndWait($base.'Button'); + $this->assertElementNotPresent('xpath=//link[@rel="stylesheet"]'); + + /*$this->select($base.'Date_month', 10); + $this->select($base.'Date_day', 22); + + $this->clickAndWait($base.'SendButton'); + $this->assertTextPresent('2008-10-22');*/ + } + +} + +?> |