summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket470TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket470TestCase.php')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket470TestCase.php100
1 files changed, 50 insertions, 50 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket470TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket470TestCase.php
index 05ad6fb6..a2c4826e 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket470TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket470TestCase.php
@@ -1,51 +1,51 @@
-<?php
-
-class Ticket470TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket470');
- $this->verifyTitle("Verifying Ticket 470");
- $this->assertText("{$base}counter", "0");
- $this->assertText("{$base}Results", "");
- $this->assertNotVisible("{$base}validator1");
-
- $this->click("{$base}button1");
- $this->pause(800);
- $this->assertText("{$base}counter", "0");
- $this->assertText("{$base}Results", "");
- $this->assertVisible("{$base}validator1");
-
- $this->type("{$base}TextBox", "hello");
- $this->click("{$base}button1");
- $this->pause(800);
- $this->assertText("{$base}counter", "0");
- $this->assertText("{$base}Results", "OK!!!");
- $this->assertNotVisible("{$base}validator1");
-
- //reload
- $this->click("{$base}reloadButton");
- $this->pause(800);
- $this->assertValue("{$base}TextBox", "hello");
- $this->assertText("{$base}counter", "1");
- $this->assertText("{$base}Results", "");
- $this->assertNotVisible("{$base}validator1");
-
- $this->type("{$base}TextBox", "");
- $this->click("{$base}button1");
- $this->pause(800);
- $this->assertText("{$base}counter", "1");
- $this->assertText("{$base}Results", "");
- $this->assertVisible("{$base}validator1");
-
- $this->type("{$base}TextBox", "test");
- $this->click("{$base}button1");
- $this->pause(800);
- $this->assertText("{$base}counter", "1");
- $this->assertText("{$base}Results", "OK!!!");
- $this->assertNotVisible("{$base}validator1");
- }
-}
-
+<?php
+
+class Ticket470TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket470');
+ $this->verifyTitle("Verifying Ticket 470");
+ $this->assertText("{$base}counter", "0");
+ $this->assertText("{$base}Results", "");
+ $this->assertNotVisible("{$base}validator1");
+
+ $this->click("{$base}button1");
+ $this->pause(800);
+ $this->assertText("{$base}counter", "0");
+ $this->assertText("{$base}Results", "");
+ $this->assertVisible("{$base}validator1");
+
+ $this->type("{$base}TextBox", "hello");
+ $this->click("{$base}button1");
+ $this->pause(800);
+ $this->assertText("{$base}counter", "0");
+ $this->assertText("{$base}Results", "OK!!!");
+ $this->assertNotVisible("{$base}validator1");
+
+ //reload
+ $this->click("{$base}reloadButton");
+ $this->pause(800);
+ $this->assertValue("{$base}TextBox", "hello");
+ $this->assertText("{$base}counter", "1");
+ $this->assertText("{$base}Results", "");
+ $this->assertNotVisible("{$base}validator1");
+
+ $this->type("{$base}TextBox", "");
+ $this->click("{$base}button1");
+ $this->pause(800);
+ $this->assertText("{$base}counter", "1");
+ $this->assertText("{$base}Results", "");
+ $this->assertVisible("{$base}validator1");
+
+ $this->type("{$base}TextBox", "test");
+ $this->click("{$base}button1");
+ $this->pause(800);
+ $this->assertText("{$base}counter", "1");
+ $this->assertText("{$base}Results", "OK!!!");
+ $this->assertNotVisible("{$base}validator1");
+ }
+}
+
?> \ No newline at end of file