summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket587TestCase.php23
1 files changed, 22 insertions, 1 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php
index f02b6a42..6624b5ba 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php
@@ -2,8 +2,9 @@
class Ticket587TestCase extends SeleniumTestCase
{
- function test()
+ function testKeyPress()
{
+ $this->skipBrowsers(self::INTERNET_EXPLORER);
$base = 'ctl0_Content_';
$this->open('tickets/index.php?page=Ticket587_reopened');
$this->assertTitle("Verifying Ticket 587_reopened");
@@ -21,6 +22,26 @@ class Ticket587TestCase extends SeleniumTestCase
$this->pause(800);
$this->assertText($base."label1", "Selection 2: asd 3 - item 2");
}
+
+ function testButtonClick()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket587_reopened');
+ $this->assertTitle("Verifying Ticket 587_reopened");
+
+ $this->assertText($base."label1", "Label 1");
+ $this->select($base."list1", "item 3");
+ $this->pause(800);
+ $this->select($base."list2", "value 3 - item 4");
+ $this->pause(800);
+ $this->assertText($base."label1", "Selection 2: value 3 - item 4");
+
+ $this->click($base.'button6');
+ $this->pause(800);
+ $this->select($base."list2", "asd 3 - item 2");
+ $this->pause(800);
+ $this->assertText($base."label1", "Selection 2: asd 3 - item 2");
+ }
}
?> \ No newline at end of file