summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests
diff options
context:
space:
mode:
authorwei <>2007-03-30 12:06:27 +0000
committerwei <>2007-03-30 12:06:27 +0000
commitfbfbdcb233e94b7fed6f8ae209eb90d79aa33f7e (patch)
tree4c684403050cf0633574547316ede7a4e56cb7bb /tests/FunctionalTests/tickets/tests
parent63f771ad05eaf96c11053cb6e009f7b8633eb4fe (diff)
Add test case for #528
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket528TestCase.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket528TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket528TestCase.php
new file mode 100644
index 00000000..86b28378
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket528TestCase.php
@@ -0,0 +1,32 @@
+<?php
+
+class Ticket528TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket528');
+ $this->assertTitle("Verifying Ticket 528");
+
+ $this->select("{$base}DDropTurno", "Tarde");
+ $this->pause(800);
+
+ $this->assertValue("{$base}Codigo", "T");
+ $this->assertValue("{$base}Descricao", "Tarde");
+
+ $this->select("{$base}DDropTurno", "Manhã");
+ $this->pause(800);
+
+ $this->assertValue("{$base}Codigo", "M");
+ $this->assertValue("{$base}Descricao", "Manhã");
+
+ $this->select("{$base}DDropTurno", "Noite");
+ $this->pause(800);
+
+ $this->assertValue("{$base}Codigo", "N");
+ $this->assertValue("{$base}Descricao", "Noite");
+
+ }
+}
+
+?> \ No newline at end of file