diff options
author | mikl <> | 2008-10-13 19:54:32 +0000 |
---|---|---|
committer | mikl <> | 2008-10-13 19:54:32 +0000 |
commit | 210f6d6d29be3c93251a515616408c0872d6da26 (patch) | |
tree | 4cb4ca944bf5d608e7e3a290acfb46aba1e3e275 /tests/FunctionalTests/tickets/tests | |
parent | 7bc7bfe01d2dbf835130cbe579d15c0f5b647c55 (diff) |
Added Testcase for #900
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket900TestCase.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket900TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket900TestCase.php new file mode 100644 index 00000000..b80e1187 --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket900TestCase.php @@ -0,0 +1,19 @@ +<?php + +class Ticket900TestCase extends SeleniumTestCase +{ + function test() + { + $this->open('tickets/index.php?page=Ticket900'); + $this->assertTitle("Verifying Ticket 900"); + $base = 'ctl0_Content_'; + + $this->clickAndWait('ctl0$Content$DataGrid$ctl1$ctl3'); + $this->type($base.'DataGrid_ctl1_TextBox', ''); + $this->click($base.'DataGrid_ctl1_ctl3'); + $this->clickAndWait('ctl0$Content$DataGrid$ctl1$ctl4'); + $this->assertText($base.'CommandName', 'cancel'); + } +} + +?> |