diff options
author | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
commit | 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch) | |
tree | e08bf04f0823650a231227ac3499121270172a23 /tests/FunctionalTests/tickets/tests/Ticket587TestCase.php | |
parent | 3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff) |
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket587TestCase.php')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket587TestCase.php | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php index 6624b5ba..f8255a2f 100644 --- a/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php @@ -1,47 +1,47 @@ -<?php
-
-class Ticket587TestCase extends SeleniumTestCase
-{
- function testKeyPress()
- {
- $this->skipBrowsers(self::INTERNET_EXPLORER);
- $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->keyPress($base.'text1', 't');
- $this->pause(800);
- $this->select($base."list2", "asd 3 - item 2");
- $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");
- }
-}
-
+<?php + +class Ticket587TestCase extends SeleniumTestCase +{ + function testKeyPress() + { + $this->skipBrowsers(self::INTERNET_EXPLORER); + $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->keyPress($base.'text1', 't'); + $this->pause(800); + $this->select($base."list2", "asd 3 - item 2"); + $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 |