summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests
diff options
context:
space:
mode:
authorctrlaltca <>2012-07-12 11:21:01 +0000
committerctrlaltca <>2012-07-12 11:21:01 +0000
commit903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch)
treee08bf04f0823650a231227ac3499121270172a23 /tests/FunctionalTests/tickets/tests
parent3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff)
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r--tests/FunctionalTests/tickets/tests/Issue120TestCase.php40
-rw-r--r--tests/FunctionalTests/tickets/tests/Issue216TestCase.php54
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket121TestCase.php36
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket191TestCase.php30
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket21TestCase.php36
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket239TestCase.php108
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket274TestCase.php46
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket278TestCase.php112
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket27TestCase.php34
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket284TestCase.php26
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket285TestCase.php22
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket433TestCase.php30
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket439TestCase.php30
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket463TestCase.php24
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket470TestCase.php100
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket477TestCase.php42
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket488TestCase.php82
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket504TestCase.php104
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket507TestCase.php52
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket521TestCase.php38
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket526TestCase.php34
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket528TestCase.php62
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket535TestCase.php70
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket538TestCase.php58
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket54TestCase.php22
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket573TestCase.php26
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket578TestCase.php56
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket585TestCase.php52
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket586TestCase.php40
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket587TestCase.php92
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket653TestCase.php28
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket659TestCase.php44
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket700TestCase.php142
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket703TestCase.php40
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket708TestCase.php54
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket72TestCase.php30
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket93TestCase.php32
37 files changed, 964 insertions, 964 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Issue120TestCase.php b/tests/FunctionalTests/tickets/tests/Issue120TestCase.php
index a2823c9d..07afd06c 100644
--- a/tests/FunctionalTests/tickets/tests/Issue120TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Issue120TestCase.php
@@ -1,21 +1,21 @@
-<?php
-
-class Issue120TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Issue120');
- $this->assertTextPresent('TActiveDropDownList PromptValue Test');
-
- $this->assertSelectedIndex("ctl0_Content_ddl1", 0);
- $this->assertSelectedValue("ctl0_Content_ddl1", 'PromptValue');
-
- $this->click("ctl0_Content_btn1");
- $this->pause(800);
-
- $this->assertSelectedIndex("ctl0_Content_ddl1", 0);
- $this->assertSelectedValue("ctl0_Content_ddl1", 'PromptValue');
- }
-}
-
+<?php
+
+class Issue120TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Issue120');
+ $this->assertTextPresent('TActiveDropDownList PromptValue Test');
+
+ $this->assertSelectedIndex("ctl0_Content_ddl1", 0);
+ $this->assertSelectedValue("ctl0_Content_ddl1", 'PromptValue');
+
+ $this->click("ctl0_Content_btn1");
+ $this->pause(800);
+
+ $this->assertSelectedIndex("ctl0_Content_ddl1", 0);
+ $this->assertSelectedValue("ctl0_Content_ddl1", 'PromptValue');
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Issue216TestCase.php b/tests/FunctionalTests/tickets/tests/Issue216TestCase.php
index 1cfdf0cd..0c351f33 100644
--- a/tests/FunctionalTests/tickets/tests/Issue216TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Issue216TestCase.php
@@ -1,28 +1,28 @@
-<?php
-
-class Issue216TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Issue216');
- $this->assertTextPresent('TTabPanel doesn\'t preserve active tab on callback request');
-
- $this->assertVisible('ctl0_Content_tab1');
-
- $this->click("ctl0_Content_btn1");
- $this->pause(800);
-
- $this->assertText("ctl0_Content_result", "Tab ActiveIndex is : 0");
-
- $this->click("ctl0_Content_tab2_0");
- $this->pause(800);
-
- $this->assertVisible('ctl0_Content_tab2');
-
- $this->click("ctl0_Content_btn1");
- $this->pause(800);
- $this->assertText("ctl0_Content_result", "Tab ActiveIndex is : 1");
- }
-}
-
+<?php
+
+class Issue216TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Issue216');
+ $this->assertTextPresent('TTabPanel doesn\'t preserve active tab on callback request');
+
+ $this->assertVisible('ctl0_Content_tab1');
+
+ $this->click("ctl0_Content_btn1");
+ $this->pause(800);
+
+ $this->assertText("ctl0_Content_result", "Tab ActiveIndex is : 0");
+
+ $this->click("ctl0_Content_tab2_0");
+ $this->pause(800);
+
+ $this->assertVisible('ctl0_Content_tab2');
+
+ $this->click("ctl0_Content_btn1");
+ $this->pause(800);
+ $this->assertText("ctl0_Content_result", "Tab ActiveIndex is : 1");
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php
index 7453aeef..3cad6c77 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php
@@ -1,19 +1,19 @@
-<?php
-
-class Ticket121TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Ticket121');
- $this->type("ctl0\$Content\$FooTextBox", "");
- $this->verifyNotVisible('ctl0_Content_ctl1');
- $this->click("//input[@type='image' and @id='ctl0_Content_ctl0']", "");
- $this->verifyVisible('ctl0_Content_ctl1');
- $this->type("ctl0\$Content\$FooTextBox", "content");
- $this->clickAndWait("//input[@type='image' and @id='ctl0_Content_ctl0']", "");
- $this->verifyNotVisible('ctl0_Content_ctl1');
- $this->verifyTextPresent("clicked at", "");
- }
-}
-
+<?php
+
+class Ticket121TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket121');
+ $this->type("ctl0\$Content\$FooTextBox", "");
+ $this->verifyNotVisible('ctl0_Content_ctl1');
+ $this->click("//input[@type='image' and @id='ctl0_Content_ctl0']", "");
+ $this->verifyVisible('ctl0_Content_ctl1');
+ $this->type("ctl0\$Content\$FooTextBox", "content");
+ $this->clickAndWait("//input[@type='image' and @id='ctl0_Content_ctl0']", "");
+ $this->verifyNotVisible('ctl0_Content_ctl1');
+ $this->verifyTextPresent("clicked at", "");
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket191TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket191TestCase.php
index d899aab5..616a578a 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket191TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket191TestCase.php
@@ -1,16 +1,16 @@
-<?php
-
-class Ticket191TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Ticket191');
- $this->type("ctl0\$Content\$TextBox2", "test");
- $this->clickAndWait("name=ctl0\$Content\$ctl0");
- $this->type("ctl0\$Content\$TextBox", "test");
- $this->clickAndWait("name=ctl0\$Content\$ctl1");
- $this->verifyNotVisible('ctl0_Content_ctl2');
- }
-}
-
+<?php
+
+class Ticket191TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket191');
+ $this->type("ctl0\$Content\$TextBox2", "test");
+ $this->clickAndWait("name=ctl0\$Content\$ctl0");
+ $this->type("ctl0\$Content\$TextBox", "test");
+ $this->clickAndWait("name=ctl0\$Content\$ctl1");
+ $this->verifyNotVisible('ctl0_Content_ctl2');
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php
index 394f8c95..24c5e346 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php
@@ -1,19 +1,19 @@
-<?php
-
-class Ticket21TestCase extends SeleniumTestCase
-{
- function test()
- {
- //problem with test runner clicking on radio buttons
- $this->skipBrowsers(self::OPERA);
-
- $this->open('tickets/index.php?page=Ticket21');
- $this->assertTitle("Verifying Ticket 21");
- $this->clickAndWait("ctl0_Content_button1");
- $this->verifyTextPresent("Radio button clicks: 1", "");
- $this->click("ctl0_Content_button1");
- $this->verifyTextPresent("Radio button clicks: 1", "");
- }
-}
-
+<?php
+
+class Ticket21TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ //problem with test runner clicking on radio buttons
+ $this->skipBrowsers(self::OPERA);
+
+ $this->open('tickets/index.php?page=Ticket21');
+ $this->assertTitle("Verifying Ticket 21");
+ $this->clickAndWait("ctl0_Content_button1");
+ $this->verifyTextPresent("Radio button clicks: 1", "");
+ $this->click("ctl0_Content_button1");
+ $this->verifyTextPresent("Radio button clicks: 1", "");
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket239TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket239TestCase.php
index 9d895cb4..2fe84397 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket239TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket239TestCase.php
@@ -1,55 +1,55 @@
-<?php
-
-class Ticket239TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Ticket239');
-
- // view1
- $this->verifyTextPresent('view1 is activated','');
- $this->verifyTextNotPresent('view1 is deactivated','');
- $this->verifyTextNotPresent('view2 is activated','');
- $this->verifyTextNotPresent('view2 is deactivated','');
- $this->verifyTextNotPresent('view3 is activated','');
- $this->verifyTextNotPresent('view3 is deactivated','');
-
- // goto view2
- $this->clickAndWait('name=ctl0$Content$ctl1');
- $this->verifyTextNotPresent('view1 is activated','');
- $this->verifyTextPresent('view1 is deactivated','');
- $this->verifyTextPresent('view2 is activated','');
- $this->verifyTextNotPresent('view2 is deactivated','');
- $this->verifyTextNotPresent('view3 is activated','');
- $this->verifyTextNotPresent('view3 is deactivated','');
-
- // goto view3
- $this->clickAndWait('name=ctl0$Content$ctl3');
- $this->verifyTextNotPresent('view1 is activated','');
- $this->verifyTextNotPresent('view1 is deactivated','');
- $this->verifyTextNotPresent('view2 is activated','');
- $this->verifyTextPresent('view2 is deactivated','');
- $this->verifyTextPresent('view3 is activated','');
- $this->verifyTextNotPresent('view3 is deactivated','');
-
- // goto view2
- $this->clickAndWait('name=ctl0$Content$ctl4');
- $this->verifyTextNotPresent('view1 is activated','');
- $this->verifyTextNotPresent('view1 is deactivated','');
- $this->verifyTextPresent('view2 is activated','');
- $this->verifyTextNotPresent('view2 is deactivated','');
- $this->verifyTextNotPresent('view3 is activated','');
- $this->verifyTextPresent('view3 is deactivated','');
-
- // goto view1
- $this->clickAndWait('name=ctl0$Content$ctl2');
- $this->verifyTextPresent('view1 is activated','');
- $this->verifyTextNotPresent('view1 is deactivated','');
- $this->verifyTextNotPresent('view2 is activated','');
- $this->verifyTextPresent('view2 is deactivated','');
- $this->verifyTextNotPresent('view3 is activated','');
- $this->verifyTextNotPresent('view3 is deactivated','');
- }
-}
-
+<?php
+
+class Ticket239TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket239');
+
+ // view1
+ $this->verifyTextPresent('view1 is activated','');
+ $this->verifyTextNotPresent('view1 is deactivated','');
+ $this->verifyTextNotPresent('view2 is activated','');
+ $this->verifyTextNotPresent('view2 is deactivated','');
+ $this->verifyTextNotPresent('view3 is activated','');
+ $this->verifyTextNotPresent('view3 is deactivated','');
+
+ // goto view2
+ $this->clickAndWait('name=ctl0$Content$ctl1');
+ $this->verifyTextNotPresent('view1 is activated','');
+ $this->verifyTextPresent('view1 is deactivated','');
+ $this->verifyTextPresent('view2 is activated','');
+ $this->verifyTextNotPresent('view2 is deactivated','');
+ $this->verifyTextNotPresent('view3 is activated','');
+ $this->verifyTextNotPresent('view3 is deactivated','');
+
+ // goto view3
+ $this->clickAndWait('name=ctl0$Content$ctl3');
+ $this->verifyTextNotPresent('view1 is activated','');
+ $this->verifyTextNotPresent('view1 is deactivated','');
+ $this->verifyTextNotPresent('view2 is activated','');
+ $this->verifyTextPresent('view2 is deactivated','');
+ $this->verifyTextPresent('view3 is activated','');
+ $this->verifyTextNotPresent('view3 is deactivated','');
+
+ // goto view2
+ $this->clickAndWait('name=ctl0$Content$ctl4');
+ $this->verifyTextNotPresent('view1 is activated','');
+ $this->verifyTextNotPresent('view1 is deactivated','');
+ $this->verifyTextPresent('view2 is activated','');
+ $this->verifyTextNotPresent('view2 is deactivated','');
+ $this->verifyTextNotPresent('view3 is activated','');
+ $this->verifyTextPresent('view3 is deactivated','');
+
+ // goto view1
+ $this->clickAndWait('name=ctl0$Content$ctl2');
+ $this->verifyTextPresent('view1 is activated','');
+ $this->verifyTextNotPresent('view1 is deactivated','');
+ $this->verifyTextNotPresent('view2 is activated','');
+ $this->verifyTextPresent('view2 is deactivated','');
+ $this->verifyTextNotPresent('view3 is activated','');
+ $this->verifyTextNotPresent('view3 is deactivated','');
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket274TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket274TestCase.php
index 8b74e565..b7ba1251 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket274TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket274TestCase.php
@@ -1,24 +1,24 @@
-<?php
-
-class Ticket274TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket274');
- $this->assertTitle('Verifying Ticket 274');
- $this->assertNotVisible($base.'validator1');
- $this->assertNotVisible($base.'validator2');
-
- $this->clickAndWait($base.'button1');
- $this->assertVisible($base.'validator1');
- $this->assertNotVisible($base.'validator2');
-
- $this->type($base.'MyDate', 'asd');
- $this->clickAndWait($base.'button1');
- $this->assertNotVisible($base.'validator1');
- $this->assertVisible($base.'validator2');
- }
-}
-
+<?php
+
+class Ticket274TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket274');
+ $this->assertTitle('Verifying Ticket 274');
+ $this->assertNotVisible($base.'validator1');
+ $this->assertNotVisible($base.'validator2');
+
+ $this->clickAndWait($base.'button1');
+ $this->assertVisible($base.'validator1');
+ $this->assertNotVisible($base.'validator2');
+
+ $this->type($base.'MyDate', 'asd');
+ $this->clickAndWait($base.'button1');
+ $this->assertNotVisible($base.'validator1');
+ $this->assertVisible($base.'validator2');
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket278TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket278TestCase.php
index 6e3666b9..a559ca14 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket278TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket278TestCase.php
@@ -1,57 +1,57 @@
-<?php
-
-class Ticket278TestCase extends SeleniumTestCase
-{
- function test()
- {
- //problem with test runner clicking on radio buttons
- $this->skipBrowsers(self::OPERA);
-
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket278');
- $this->assertTitle('Verifying Ticket 278');
- $this->assertNotVisible($base.'validator1');
- $this->assertNotVisible($base.'validator2');
- $this->assertNotVisible($base.'panel1');
-
- $this->click($base.'button1');
- $this->assertVisible($base.'validator1');
- $this->assertNotVisible($base.'validator2');
-
- $this->type($base.'text1', 'asd');
- $this->clickAndWait($base.'button1');
- $this->assertNotVisible($base.'validator1');
- $this->assertNotVisible($base.'validator2');
- $this->assertNotVisible($base.'panel1');
-
- $this->click($base.'check1');
- $this->click($base.'button1');
- $this->assertNotVisible($base.'validator1');
- $this->assertVisible($base.'validator2');
- $this->assertVisible($base.'panel1');
-
-
- $this->type($base.'text1', '');
- $this->type($base.'text2', 'asd');
- $this->click($base.'button1');
- $this->assertVisible($base.'validator1');
- $this->assertNotVisible($base.'validator2');
- $this->assertVisible($base.'panel1');
-
-
- $this->type($base.'text1', 'asd');
- $this->clickAndWait($base.'button1');
- $this->assertNotVisible($base.'validator1');
- $this->assertNotVisible($base.'validator2');
- $this->assertVisible($base.'panel1');
-
- $this->type($base.'text1', '');
- $this->type($base.'text2', '');
- $this->click($base.'button1');
- $this->assertVisible($base.'validator1');
- $this->assertVisible($base.'validator2');
- $this->assertVisible($base.'panel1');
- }
-}
-
+<?php
+
+class Ticket278TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ //problem with test runner clicking on radio buttons
+ $this->skipBrowsers(self::OPERA);
+
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket278');
+ $this->assertTitle('Verifying Ticket 278');
+ $this->assertNotVisible($base.'validator1');
+ $this->assertNotVisible($base.'validator2');
+ $this->assertNotVisible($base.'panel1');
+
+ $this->click($base.'button1');
+ $this->assertVisible($base.'validator1');
+ $this->assertNotVisible($base.'validator2');
+
+ $this->type($base.'text1', 'asd');
+ $this->clickAndWait($base.'button1');
+ $this->assertNotVisible($base.'validator1');
+ $this->assertNotVisible($base.'validator2');
+ $this->assertNotVisible($base.'panel1');
+
+ $this->click($base.'check1');
+ $this->click($base.'button1');
+ $this->assertNotVisible($base.'validator1');
+ $this->assertVisible($base.'validator2');
+ $this->assertVisible($base.'panel1');
+
+
+ $this->type($base.'text1', '');
+ $this->type($base.'text2', 'asd');
+ $this->click($base.'button1');
+ $this->assertVisible($base.'validator1');
+ $this->assertNotVisible($base.'validator2');
+ $this->assertVisible($base.'panel1');
+
+
+ $this->type($base.'text1', 'asd');
+ $this->clickAndWait($base.'button1');
+ $this->assertNotVisible($base.'validator1');
+ $this->assertNotVisible($base.'validator2');
+ $this->assertVisible($base.'panel1');
+
+ $this->type($base.'text1', '');
+ $this->type($base.'text2', '');
+ $this->click($base.'button1');
+ $this->assertVisible($base.'validator1');
+ $this->assertVisible($base.'validator2');
+ $this->assertVisible($base.'panel1');
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket27TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket27TestCase.php
index 6a5ccdb9..dac852e2 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket27TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket27TestCase.php
@@ -1,18 +1,18 @@
-<?php
-
-class Ticket27TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Ticket27');
- $this->verifyTitle("Verifying Ticket 27", "");
- $this->click("//input[@value='Agree']", "");
- $this->assertVisible("ctl0_Content_validator1", "");
- $this->type("ctl0_Content_TextBox", "122");
- $this->assertNotVisible("ctl0_Content_validator1", "");
- $this->clickAndWait("//input[@value='Disagree']", "");
- $this->assertNotVisible("ctl0_Content_validator1", "");
- }
-}
-
+<?php
+
+class Ticket27TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket27');
+ $this->verifyTitle("Verifying Ticket 27", "");
+ $this->click("//input[@value='Agree']", "");
+ $this->assertVisible("ctl0_Content_validator1", "");
+ $this->type("ctl0_Content_TextBox", "122");
+ $this->assertNotVisible("ctl0_Content_validator1", "");
+ $this->clickAndWait("//input[@value='Disagree']", "");
+ $this->assertNotVisible("ctl0_Content_validator1", "");
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket284TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket284TestCase.php
index 9a6fa7c3..15194f60 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket284TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket284TestCase.php
@@ -1,14 +1,14 @@
-<?php
-
-class Ticket284TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Ticket284');
- $this->assertTextPresent('Verifying Ticket 284');
- $this->click('ctl0_Content_ctl1');
-
- }
-}
-
+<?php
+
+class Ticket284TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket284');
+ $this->assertTextPresent('Verifying Ticket 284');
+ $this->click('ctl0_Content_ctl1');
+
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket285TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket285TestCase.php
index cd681c58..6f4a2a8e 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket285TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket285TestCase.php
@@ -1,12 +1,12 @@
-<?php
-
-class Ticket285TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Ticket285');
- $this->assertTextPresent('350.00');
- $this->assertTextPresent('349.99');
- }
-}
+<?php
+
+class Ticket285TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket285');
+ $this->assertTextPresent('350.00');
+ $this->assertTextPresent('349.99');
+ }
+}
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket433TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket433TestCase.php
index 1bbfb7ec..b855edc8 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket433TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket433TestCase.php
@@ -1,18 +1,18 @@
<?php
-
-class Ticket433TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket433');
- $this->assertTitle("Verifying Ticket 433");
- $this->assertText("{$base}VoteClick", "BEFORE click");
-
- $this->click("{$base}VoteClick");
- $this->pause(800);
- $this->assertText("{$base}VoteClick", "AFTER click CALLBACK DONE");
- }
-}
+
+class Ticket433TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket433');
+ $this->assertTitle("Verifying Ticket 433");
+ $this->assertText("{$base}VoteClick", "BEFORE click");
+
+ $this->click("{$base}VoteClick");
+ $this->pause(800);
+ $this->assertText("{$base}VoteClick", "AFTER click CALLBACK DONE");
+ }
+}
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket439TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket439TestCase.php
index 651e322c..e097a9ce 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket439TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket439TestCase.php
@@ -1,16 +1,16 @@
-<?php
-
-class Ticket439TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket439');
- $this->assertTitle("Verifying Ticket 439");
- $this->click("{$base}button1");
- $this->waitForPageToLoad(3000);
- $this->pause(800);
- $this->assertTitle("Verifying Home");
- }
-}
+<?php
+
+class Ticket439TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket439');
+ $this->assertTitle("Verifying Ticket 439");
+ $this->click("{$base}button1");
+ $this->waitForPageToLoad(3000);
+ $this->pause(800);
+ $this->assertTitle("Verifying Home");
+ }
+}
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket463TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket463TestCase.php
index 51b27b87..9da3be34 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket463TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket463TestCase.php
@@ -1,13 +1,13 @@
-<?php
-
-class Ticket463TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Ticket463');
- $this->verifyTitle("Verifying Ticket 463", "");
- $this->assertTextPresent('May 1, 2005 12:00:00 AM');
- }
-}
-
+<?php
+
+class Ticket463TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket463');
+ $this->verifyTitle("Verifying Ticket 463", "");
+ $this->assertTextPresent('May 1, 2005 12:00:00 AM');
+ }
+}
+
?> \ No newline at end of file
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
diff --git a/tests/FunctionalTests/tickets/tests/Ticket477TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket477TestCase.php
index ea32ff5f..10c36e7d 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket477TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket477TestCase.php
@@ -1,24 +1,24 @@
<?php
-
-class Ticket477TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket477');
- $this->assertTitle("Verifying Ticket 477");
- $this->assertNotVisible("{$base}validator1");
- $this->assertNotVisible("{$base}validator2");
-
- $this->clickAndWait("{$base}list1_c1");
- $this->assertVisible("{$base}validator1");
- $this->assertNotVisible("{$base}validator2");
-
-
- $this->clickAndWait("{$base}list2_c1");
- $this->assertNotVisible("{$base}validator1");
- $this->assertVisible("{$base}validator2");
- }
-}
+
+class Ticket477TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket477');
+ $this->assertTitle("Verifying Ticket 477");
+ $this->assertNotVisible("{$base}validator1");
+ $this->assertNotVisible("{$base}validator2");
+
+ $this->clickAndWait("{$base}list1_c1");
+ $this->assertVisible("{$base}validator1");
+ $this->assertNotVisible("{$base}validator2");
+
+
+ $this->clickAndWait("{$base}list2_c1");
+ $this->assertNotVisible("{$base}validator1");
+ $this->assertVisible("{$base}validator2");
+ }
+}
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php
index 2a83fac9..d96b92f1 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket488TestCase.php
@@ -1,42 +1,42 @@
-<?php
-
-class Ticket488TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('active-controls/index.php?page=CustomValidatorByPass');
- $this->assertTextPresent('Custom Login');
- $this->assertNotVisible('loginBox');
- $this->click("showLogin");
- $this->assertVisible("loginBox");
- $this->assertNotVisible("validator1");
- $this->assertNotVisible("validator2");
-
- $this->click("checkLogin");
- $this->pause(800);
- $this->assertVisible("validator1");
- $this->assertNotVisible("validator2");
-
- $this->type('Username', 'tea');
- $this->type('Password', 'mmama');
-
- $this->click("checkLogin");
- $this->pause(800);
- $this->assertNotVisible("validator1");
- $this->assertVisible("validator2");
-
- $this->type('Password', 'test');
- $this->click("checkLogin");
- $this->pause(800);
- $this->assertNotVisible("validator1");
- $this->assertNotVisible("validator2");
- }
-
- function test_more()
- {
- $this->open('tickets/index.php?page=Ticket488');
- //add test assertions here.
- }
-}
-
+<?php
+
+class Ticket488TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('active-controls/index.php?page=CustomValidatorByPass');
+ $this->assertTextPresent('Custom Login');
+ $this->assertNotVisible('loginBox');
+ $this->click("showLogin");
+ $this->assertVisible("loginBox");
+ $this->assertNotVisible("validator1");
+ $this->assertNotVisible("validator2");
+
+ $this->click("checkLogin");
+ $this->pause(800);
+ $this->assertVisible("validator1");
+ $this->assertNotVisible("validator2");
+
+ $this->type('Username', 'tea');
+ $this->type('Password', 'mmama');
+
+ $this->click("checkLogin");
+ $this->pause(800);
+ $this->assertNotVisible("validator1");
+ $this->assertVisible("validator2");
+
+ $this->type('Password', 'test');
+ $this->click("checkLogin");
+ $this->pause(800);
+ $this->assertNotVisible("validator1");
+ $this->assertNotVisible("validator2");
+ }
+
+ function test_more()
+ {
+ $this->open('tickets/index.php?page=Ticket488');
+ //add test assertions here.
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket504TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket504TestCase.php
index 7c74a1d1..5629e5f3 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket504TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket504TestCase.php
@@ -1,53 +1,53 @@
-<?php
-
-class Ticket504TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket504');
- $this->verifyTitle("Verifying Ticket 504", "");
-
- $this->assertText("status", "");
-
- $this->assertVisible("{$base}panelA");
- $this->assertVisible("{$base}panelB");
- $this->assertVisible("{$base}panelC");
- $this->assertVisible("{$base}panelD");
-
- $this->click("{$base}linka");
- $this->pause(800);
- $this->assertVisible("{$base}panelA");
- $this->assertNotVisible("{$base}panelB");
- $this->assertNotVisible("{$base}panelC");
- $this->assertNotVisible("{$base}panelD");
- $this->assertText("status", "panelA updated");
-
- $this->click("{$base}linkb");
- $this->pause(800);
- $this->assertNotVisible("{$base}panelA");
- $this->assertVisible("{$base}panelB");
- $this->assertNotVisible("{$base}panelC");
- $this->assertNotVisible("{$base}panelD");
- $this->assertText("status", "panelB updated");
-
- $this->click("{$base}linkc");
- $this->pause(800);
- $this->assertNotVisible("{$base}panelA");
- $this->assertNotVisible("{$base}panelB");
- $this->assertVisible("{$base}panelC");
- $this->assertNotVisible("{$base}panelD");
- $this->assertText("status", "panelC updated");
-
- $this->click("{$base}linkd");
- $this->pause(800);
- $this->assertNotVisible("{$base}panelA");
- $this->assertNotVisible("{$base}panelB");
- $this->assertNotVisible("{$base}panelC");
- $this->assertVisible("{$base}panelD");
- $this->assertText("status", "panelD updated");
-
- }
-}
-
+<?php
+
+class Ticket504TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket504');
+ $this->verifyTitle("Verifying Ticket 504", "");
+
+ $this->assertText("status", "");
+
+ $this->assertVisible("{$base}panelA");
+ $this->assertVisible("{$base}panelB");
+ $this->assertVisible("{$base}panelC");
+ $this->assertVisible("{$base}panelD");
+
+ $this->click("{$base}linka");
+ $this->pause(800);
+ $this->assertVisible("{$base}panelA");
+ $this->assertNotVisible("{$base}panelB");
+ $this->assertNotVisible("{$base}panelC");
+ $this->assertNotVisible("{$base}panelD");
+ $this->assertText("status", "panelA updated");
+
+ $this->click("{$base}linkb");
+ $this->pause(800);
+ $this->assertNotVisible("{$base}panelA");
+ $this->assertVisible("{$base}panelB");
+ $this->assertNotVisible("{$base}panelC");
+ $this->assertNotVisible("{$base}panelD");
+ $this->assertText("status", "panelB updated");
+
+ $this->click("{$base}linkc");
+ $this->pause(800);
+ $this->assertNotVisible("{$base}panelA");
+ $this->assertNotVisible("{$base}panelB");
+ $this->assertVisible("{$base}panelC");
+ $this->assertNotVisible("{$base}panelD");
+ $this->assertText("status", "panelC updated");
+
+ $this->click("{$base}linkd");
+ $this->pause(800);
+ $this->assertNotVisible("{$base}panelA");
+ $this->assertNotVisible("{$base}panelB");
+ $this->assertNotVisible("{$base}panelC");
+ $this->assertVisible("{$base}panelD");
+ $this->assertText("status", "panelD updated");
+
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket507TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket507TestCase.php
index e8ddbfce..a430fb4e 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket507TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket507TestCase.php
@@ -1,27 +1,27 @@
-<?php
-
-class Ticket507TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base='ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket507');
- $this->verifyTitle("Verifying Ticket 507", "");
-
- $this->assertText("{$base}label1", "Label 1");
-
- $this->click("{$base}button1");
- $this->pause(800);
-
- $this->select("{$base}list1", "item 1");
- $this->pause(800);
- $this->assertText("{$base}label1", "Selection: value 1");
-
- $this->addSelection("{$base}list1", "item 3");
-
- $this->pause(800);
- $this->assertText("{$base}label1", "Selection: value 1, value 3");
- }
-}
-
+<?php
+
+class Ticket507TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base='ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket507');
+ $this->verifyTitle("Verifying Ticket 507", "");
+
+ $this->assertText("{$base}label1", "Label 1");
+
+ $this->click("{$base}button1");
+ $this->pause(800);
+
+ $this->select("{$base}list1", "item 1");
+ $this->pause(800);
+ $this->assertText("{$base}label1", "Selection: value 1");
+
+ $this->addSelection("{$base}list1", "item 3");
+
+ $this->pause(800);
+ $this->assertText("{$base}label1", "Selection: value 1, value 3");
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket521TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket521TestCase.php
index ea9feae8..b0cdd8af 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket521TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket521TestCase.php
@@ -1,20 +1,20 @@
-<?php
-
-class Ticket521TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open("tickets/index.php?page=Ticket521");
- $this->assertTitle("Verifying Ticket 521");
- $this->assertText("{$base}label1", "Label 1");
-
- $this->click("{$base}button1");
- $this->pause(1200);
-
- $this->assertText("{$base}label1", "Button 1 was clicked on callback");
- }
-
-}
-
+<?php
+
+class Ticket521TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open("tickets/index.php?page=Ticket521");
+ $this->assertTitle("Verifying Ticket 521");
+ $this->assertText("{$base}label1", "Label 1");
+
+ $this->click("{$base}button1");
+ $this->pause(1200);
+
+ $this->assertText("{$base}label1", "Button 1 was clicked on callback");
+ }
+
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket526TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket526TestCase.php
index abba3a96..c8894082 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket526TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket526TestCase.php
@@ -1,18 +1,18 @@
-<?php
-
-class Ticket526TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base="ctl0_Content_";
- $this->open('tickets/index.php?page=Ticket526');
- $this->verifyTitle("Verifying Ticket 526", "");
-
- $this->assertElementNotPresent("{$base}dpbutton");
-
- $this->click("{$base}btn");
- $this->pause(800);
- $this->assertElementPresent("{$base}dpbutton");
- }
-}
+<?php
+
+class Ticket526TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base="ctl0_Content_";
+ $this->open('tickets/index.php?page=Ticket526');
+ $this->verifyTitle("Verifying Ticket 526", "");
+
+ $this->assertElementNotPresent("{$base}dpbutton");
+
+ $this->click("{$base}btn");
+ $this->pause(800);
+ $this->assertElementPresent("{$base}dpbutton");
+ }
+}
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket528TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket528TestCase.php
index 86b28378..79791444 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket528TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket528TestCase.php
@@ -1,32 +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");
-
- }
-}
-
+<?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
diff --git a/tests/FunctionalTests/tickets/tests/Ticket535TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket535TestCase.php
index 26f70803..222f4b7b 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket535TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket535TestCase.php
@@ -1,36 +1,36 @@
-<?php
-
-class Ticket535TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket535');
- $this->assertTitle("Verifying Ticket 535");
-
- $this->assertText("{$base}label1", "Label 1");
-
- $this->click("{$base}radio1");
- $this->click("{$base}button1");
- $this->pause(800);
- $this->assertText("{$base}label1", 'radio1 checked:{1} radio2 checked:{}');
-
- $this->click("{$base}radio2");
- $this->click("{$base}button1");
- $this->pause(800);
- $this->assertText("{$base}label1", 'radio1 checked:{1} radio2 checked:{1}');
-
- $this->click("{$base}bad_radio1");
- $this->click("{$base}button2");
- $this->pause(800);
- $this->assertText("{$base}label1", 'bad_radio1 checked:{1} bad_radio2 checked:{}');
-
- $this->click("{$base}bad_radio2");
- $this->click("{$base}button2");
- $this->pause(800);
- $this->assertText("{$base}label1", 'bad_radio1 checked:{} bad_radio2 checked:{1}');
- }
-
-}
-
+<?php
+
+class Ticket535TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket535');
+ $this->assertTitle("Verifying Ticket 535");
+
+ $this->assertText("{$base}label1", "Label 1");
+
+ $this->click("{$base}radio1");
+ $this->click("{$base}button1");
+ $this->pause(800);
+ $this->assertText("{$base}label1", 'radio1 checked:{1} radio2 checked:{}');
+
+ $this->click("{$base}radio2");
+ $this->click("{$base}button1");
+ $this->pause(800);
+ $this->assertText("{$base}label1", 'radio1 checked:{1} radio2 checked:{1}');
+
+ $this->click("{$base}bad_radio1");
+ $this->click("{$base}button2");
+ $this->pause(800);
+ $this->assertText("{$base}label1", 'bad_radio1 checked:{1} bad_radio2 checked:{}');
+
+ $this->click("{$base}bad_radio2");
+ $this->click("{$base}button2");
+ $this->pause(800);
+ $this->assertText("{$base}label1", 'bad_radio1 checked:{} bad_radio2 checked:{1}');
+ }
+
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket538TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket538TestCase.php
index 712ff24b..20730b25 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket538TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket538TestCase.php
@@ -1,30 +1,30 @@
-<?php
-
-class Ticket538TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base="ctl0_Content_";
- $this->open('tickets/index.php?page=Ticket538');
- $this->verifyTitle("Verifying Ticket 538", "");
-
- $this->assertText("{$base}ALLog", 'waiting for response...');
-
- $this->select("{$base}DataViewer", "empty :(");
- $this->click("{$base}selectBtn");
- $this->pause(800);
-
- $this->assertText("{$base}ALLog", '0,');
-
- $this->select("{$base}DataSelector", "select data set 2");
- $this->pause(800);
- $this->select("{$base}DataViewer", "G1: Steven=>10");
- $this->addSelection("{$base}DataViewer", "G2: Kevin=>65");
-
- $this->click("{$base}selectBtn");
- $this->pause(800);
- $this->assertText("{$base}ALLog", '4- "test1", 10- "test2",');
- }
-}
-
+<?php
+
+class Ticket538TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base="ctl0_Content_";
+ $this->open('tickets/index.php?page=Ticket538');
+ $this->verifyTitle("Verifying Ticket 538", "");
+
+ $this->assertText("{$base}ALLog", 'waiting for response...');
+
+ $this->select("{$base}DataViewer", "empty :(");
+ $this->click("{$base}selectBtn");
+ $this->pause(800);
+
+ $this->assertText("{$base}ALLog", '0,');
+
+ $this->select("{$base}DataSelector", "select data set 2");
+ $this->pause(800);
+ $this->select("{$base}DataViewer", "G1: Steven=>10");
+ $this->addSelection("{$base}DataViewer", "G2: Kevin=>65");
+
+ $this->click("{$base}selectBtn");
+ $this->pause(800);
+ $this->assertText("{$base}ALLog", '4- "test1", 10- "test2",');
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket54TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket54TestCase.php
index 1698f1cb..62d2599d 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket54TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket54TestCase.php
@@ -1,12 +1,12 @@
-<?php
-
-class Ticket54TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Ticket54');
- $this->verifyTextPresent("|A|a|B|b|C|", "");
- }
-}
-
+<?php
+
+class Ticket54TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket54');
+ $this->verifyTextPresent("|A|a|B|b|C|", "");
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket573TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket573TestCase.php
index 60a8d453..755d5dd6 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket573TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket573TestCase.php
@@ -1,14 +1,14 @@
-<?php
-
-class Ticket573TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Ticket573');
- $this->verifyTitle("Verifying Ticket 573", "");
-
- $this->assertText('test1', '10.00');
- }
-}
-
+<?php
+
+class Ticket573TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket573');
+ $this->verifyTitle("Verifying Ticket 573", "");
+
+ $this->assertText('test1', '10.00');
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket578TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket578TestCase.php
index f95af91b..5f3bd4d6 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket578TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket578TestCase.php
@@ -1,29 +1,29 @@
-<?php
-
-class Ticket578TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket578');
- $this->verifyTitle("Verifying Ticket 578", "");
-
- $this->assertText("{$base}label1", "Label 1");
- $this->click("{$base}button1", "");
- $this->pause(800);
- $this->assertText("{$base}label1", "Button 1 was clicked : ");
-
- $this->store($this->setTinymceHtml("{$base}text1", "helloworld"),"t2");
- $this->click("{$base}button1", "");
- $this->pause(800);
- $this->assertText("{$base}label1", "Button 1 was clicked : helloworld");
- }
-
- function setTinymceHtml($id, $text)
- {
- $tinymce = "this.browserbot.getCurrentWindow().tinyMCE.getInstanceById('{$id}')";
- return 'javascript{'."{$tinymce}.setHTML('{$text}') ? 0 : 1".'}';
- }
-}
-
+<?php
+
+class Ticket578TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket578');
+ $this->verifyTitle("Verifying Ticket 578", "");
+
+ $this->assertText("{$base}label1", "Label 1");
+ $this->click("{$base}button1", "");
+ $this->pause(800);
+ $this->assertText("{$base}label1", "Button 1 was clicked : ");
+
+ $this->store($this->setTinymceHtml("{$base}text1", "helloworld"),"t2");
+ $this->click("{$base}button1", "");
+ $this->pause(800);
+ $this->assertText("{$base}label1", "Button 1 was clicked : helloworld");
+ }
+
+ function setTinymceHtml($id, $text)
+ {
+ $tinymce = "this.browserbot.getCurrentWindow().tinyMCE.getInstanceById('{$id}')";
+ return 'javascript{'."{$tinymce}.setHTML('{$text}') ? 0 : 1".'}';
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket585TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket585TestCase.php
index cbcb7bb2..2b3f671b 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket585TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket585TestCase.php
@@ -1,27 +1,27 @@
-<?php
-
-class Ticket585TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket585');
- $this->verifyTitle("Verifying Ticket 585", "");
-
- $this->assertText("error", "");
- $this->assertNotVisible("{$base}validator1");
-
- $this->click("{$base}button1");
- $this->pause(800);
- $this->assertText("error", "Success");
- $this->assertNotVisible("{$base}validator1");
-
- $this->type("{$base}test", "15-03-2007");
- $this->click("{$base}button1");
- $this->pause(800);
- $this->assertText("error", "Error");
- $this->assertVisible("{$base}validator1");
- }
-}
-
+<?php
+
+class Ticket585TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket585');
+ $this->verifyTitle("Verifying Ticket 585", "");
+
+ $this->assertText("error", "");
+ $this->assertNotVisible("{$base}validator1");
+
+ $this->click("{$base}button1");
+ $this->pause(800);
+ $this->assertText("error", "Success");
+ $this->assertNotVisible("{$base}validator1");
+
+ $this->type("{$base}test", "15-03-2007");
+ $this->click("{$base}button1");
+ $this->pause(800);
+ $this->assertText("error", "Error");
+ $this->assertVisible("{$base}validator1");
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket586TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket586TestCase.php
index 4b5619cd..037b9223 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket586TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket586TestCase.php
@@ -1,21 +1,21 @@
-<?php
-
-class Ticket586TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket586');
- $this->verifyTitle("Verifying Ticket 586", "");
-
- $this->assertText("{$base}label1", "Status");
- $this->clickAndWait("{$base}button1");
- $this->assertText("{$base}label1", "Button 1 Clicked!");
-
- $this->type("{$base}text1", "testing");
- $this->keyDownAndWait("{$base}text1", '\13');
- $this->assertText("{$base}label1", "Button 2 (default) Clicked!");
- }
-}
-
+<?php
+
+class Ticket586TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket586');
+ $this->verifyTitle("Verifying Ticket 586", "");
+
+ $this->assertText("{$base}label1", "Status");
+ $this->clickAndWait("{$base}button1");
+ $this->assertText("{$base}label1", "Button 1 Clicked!");
+
+ $this->type("{$base}text1", "testing");
+ $this->keyDownAndWait("{$base}text1", '\13');
+ $this->assertText("{$base}label1", "Button 2 (default) Clicked!");
+ }
+}
+
?> \ No newline at end of file
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
diff --git a/tests/FunctionalTests/tickets/tests/Ticket653TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket653TestCase.php
index c25eb25f..d4a05fd8 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket653TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket653TestCase.php
@@ -1,15 +1,15 @@
-<?php
-
-class Ticket653TestCase extends SeleniumTestCase
-{
- function test()
- {
- // Open with 'Friendly URL'
- $this->open('tickets/index.php/ticket653');
- $this->verifyTitle("Verifying Ticket 653", "");
-
- $this->assertText('textspan', 'This is the page for Ticket653');
- }
-}
-
+<?php
+
+class Ticket653TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ // Open with 'Friendly URL'
+ $this->open('tickets/index.php/ticket653');
+ $this->verifyTitle("Verifying Ticket 653", "");
+
+ $this->assertText('textspan', 'This is the page for Ticket653');
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket659TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket659TestCase.php
index 70c52f35..8d705772 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket659TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket659TestCase.php
@@ -1,23 +1,23 @@
-<?php
-
-class Ticket659TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- // Normal component (working)
- $this->open('tickets/index.php?page=ToggleTest');
- $this->assertText("${base}lbl", "Down");
- $this->click("${base}btn", "");
- $this->pause(800);
- $this->assertText("${base}lbl", "Up");
- // Extended component (not working)
- $this->open('tickets/index.php?page=Ticket659');
- $this->assertText("${base}lbl", "Down");
- $this->click("${base}btn", "");
- $this->pause(800);
- $this->assertText("${base}lbl", "Up");
- }
-}
-
+<?php
+
+class Ticket659TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ // Normal component (working)
+ $this->open('tickets/index.php?page=ToggleTest');
+ $this->assertText("${base}lbl", "Down");
+ $this->click("${base}btn", "");
+ $this->pause(800);
+ $this->assertText("${base}lbl", "Up");
+ // Extended component (not working)
+ $this->open('tickets/index.php?page=Ticket659');
+ $this->assertText("${base}lbl", "Down");
+ $this->click("${base}btn", "");
+ $this->pause(800);
+ $this->assertText("${base}lbl", "Up");
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket700TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket700TestCase.php
index e7ff30b3..c8929693 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket700TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket700TestCase.php
@@ -1,72 +1,72 @@
-<?php
-class Ticket700TestCase extends SeleniumTestCase
-{
- function test()
- {
- // page: Home
- $this->open('tickets/index700.php');
- $this->clickAndWait('ctl0_Logout');
- $this->clickAndWait('pageHome');
- $this->assertTitle("Home");
- $this->assertTextPresent('|Param1: Set at app config|');
- $this->assertTextPresent('|Param2: Set at root|');
- $this->assertTextPresent('|Param3: default 3|');
- $this->assertTextPresent('|Param4: default 4|');
- $this->assertTextPresent('|Param5: Set at root|');
-
- // page: admin.Home
- $this->clickAndWait('pageAdminHome');
- $this->assertTitle('UserLogin');
- $this->type('ctl0_Main_Username','AdminUser');
- $this->type('ctl0_Main_Password','demo');
- $this->clickAndWait('ctl0_Main_LoginButton');
- $this->clickAndWait('pageAdminHome');
- $this->assertTitle('admin.Home');
- $this->assertTextPresent('|Param1: Set at app config|');
- $this->assertTextPresent('|Param2: Set at admin|');
- $this->assertTextPresent('|Param3: Set at admin|');
- $this->assertTextPresent('|Param4: Set at app config|');
- $this->assertTextPresent('|Param5: Set at app config|');
-
- // page: admin.Home2
- $this->clickAndWait('pageAdminHome2');
- $this->assertTitle('admin.Home2');
- $this->clickAndWait('ctl0_Logout');
- $this->clickAndWait('pageAdminHome2');
- $this->assertTitle('admin.Home2');
-
- // page: admin.users.Home
- $this->clickAndWait('pageAdminUsersHome');
- $this->assertTitle('UserLogin');
- $this->type('ctl0_Main_Username','NormalUser');
- $this->type('ctl0_Main_Password','demo');
- $this->clickAndWait('ctl0_Main_LoginButton');
- $this->clickAndWait('pageAdminUsersHome');
- $this->assertTitle('UserLogin');
- $this->type('ctl0_Main_Username','AdminUser');
- $this->type('ctl0_Main_Password','demo');
- $this->clickAndWait('ctl0_Main_LoginButton');
- $this->clickAndWait('pageAdminUsersHome');
- $this->assertTitle('admin.users.Home');
- $this->assertTextPresent('|Param1: Set at admin|');
- $this->assertTextPresent('|Param2: Set at admin.users|');
- $this->assertTextPresent('|Param3: default 3|');
- $this->assertTextPresent('|Param4: Set at admin|');
- $this->assertTextPresent('|Param5: Set at app config|');
-
- // page: admin.users.Home2
- $this->clickAndWait('pageAdminUsersHome2');
- $this->assertTitle('admin.users.Home2');
-
- // page: content.Home
- $this->clickAndWait('pageContentHome');
- $this->assertTitle('content.Home');
- $this->assertTextPresent('|Param1: Set at app config|');
- $this->assertTextPresent('|Param2: Set at root|');
- $this->assertTextPresent('|Param3: default 3|');
- $this->assertTextPresent('|Param4: default 4|');
- $this->assertTextPresent('|Param5: Set at app config|');
- $this->clickAndWait('ctl0_Logout');
- }
-}
+<?php
+class Ticket700TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ // page: Home
+ $this->open('tickets/index700.php');
+ $this->clickAndWait('ctl0_Logout');
+ $this->clickAndWait('pageHome');
+ $this->assertTitle("Home");
+ $this->assertTextPresent('|Param1: Set at app config|');
+ $this->assertTextPresent('|Param2: Set at root|');
+ $this->assertTextPresent('|Param3: default 3|');
+ $this->assertTextPresent('|Param4: default 4|');
+ $this->assertTextPresent('|Param5: Set at root|');
+
+ // page: admin.Home
+ $this->clickAndWait('pageAdminHome');
+ $this->assertTitle('UserLogin');
+ $this->type('ctl0_Main_Username','AdminUser');
+ $this->type('ctl0_Main_Password','demo');
+ $this->clickAndWait('ctl0_Main_LoginButton');
+ $this->clickAndWait('pageAdminHome');
+ $this->assertTitle('admin.Home');
+ $this->assertTextPresent('|Param1: Set at app config|');
+ $this->assertTextPresent('|Param2: Set at admin|');
+ $this->assertTextPresent('|Param3: Set at admin|');
+ $this->assertTextPresent('|Param4: Set at app config|');
+ $this->assertTextPresent('|Param5: Set at app config|');
+
+ // page: admin.Home2
+ $this->clickAndWait('pageAdminHome2');
+ $this->assertTitle('admin.Home2');
+ $this->clickAndWait('ctl0_Logout');
+ $this->clickAndWait('pageAdminHome2');
+ $this->assertTitle('admin.Home2');
+
+ // page: admin.users.Home
+ $this->clickAndWait('pageAdminUsersHome');
+ $this->assertTitle('UserLogin');
+ $this->type('ctl0_Main_Username','NormalUser');
+ $this->type('ctl0_Main_Password','demo');
+ $this->clickAndWait('ctl0_Main_LoginButton');
+ $this->clickAndWait('pageAdminUsersHome');
+ $this->assertTitle('UserLogin');
+ $this->type('ctl0_Main_Username','AdminUser');
+ $this->type('ctl0_Main_Password','demo');
+ $this->clickAndWait('ctl0_Main_LoginButton');
+ $this->clickAndWait('pageAdminUsersHome');
+ $this->assertTitle('admin.users.Home');
+ $this->assertTextPresent('|Param1: Set at admin|');
+ $this->assertTextPresent('|Param2: Set at admin.users|');
+ $this->assertTextPresent('|Param3: default 3|');
+ $this->assertTextPresent('|Param4: Set at admin|');
+ $this->assertTextPresent('|Param5: Set at app config|');
+
+ // page: admin.users.Home2
+ $this->clickAndWait('pageAdminUsersHome2');
+ $this->assertTitle('admin.users.Home2');
+
+ // page: content.Home
+ $this->clickAndWait('pageContentHome');
+ $this->assertTitle('content.Home');
+ $this->assertTextPresent('|Param1: Set at app config|');
+ $this->assertTextPresent('|Param2: Set at root|');
+ $this->assertTextPresent('|Param3: default 3|');
+ $this->assertTextPresent('|Param4: default 4|');
+ $this->assertTextPresent('|Param5: Set at app config|');
+ $this->clickAndWait('ctl0_Logout');
+ }
+}
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php
index d497bb34..b001aa28 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php
@@ -1,21 +1,21 @@
-<?php
-class Ticket703TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket703.Ticket703');
- $this->assertTitle("Verifying Ticket703.Ticket703 703.703");
- // Start with an empty log
- $this->click($base.'ctl2');
- // Wait for callback to be lanched
- $this->pause(2000);
- $this->assertText($base.'logBox', "");
- $this->type($base.'logMessage', "Test of prado logging system");
- $this->click($base.'ctl0');
- $this->pause(800);
- $this->click($base.'ctl1');
- $this->assertTextPresent($base.'logBox', "Test of prado logging system");
- }
-}
+<?php
+class Ticket703TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket703.Ticket703');
+ $this->assertTitle("Verifying Ticket703.Ticket703 703.703");
+ // Start with an empty log
+ $this->click($base.'ctl2');
+ // Wait for callback to be lanched
+ $this->pause(2000);
+ $this->assertText($base.'logBox', "");
+ $this->type($base.'logMessage', "Test of prado logging system");
+ $this->click($base.'ctl0');
+ $this->pause(800);
+ $this->click($base.'ctl1');
+ $this->assertTextPresent($base.'logBox', "Test of prado logging system");
+ }
+}
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket708TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket708TestCase.php
index 77978141..7c9f706b 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket708TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket708TestCase.php
@@ -1,28 +1,28 @@
-<?php
-class Ticket708TestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket708');
- $this->assertTitle("Verifying Ticket 708");
-
- $this->click($base."grid_ctl1_RadioButton");
- $this->pause(800);
- $this->assertText($base."Result", "You have selected Radio Button #1");
-
- $this->click($base."grid_ctl2_RadioButton");
- $this->pause(800);
- $this->assertText($base."Result", "You have selected Radio Button #2");
-
- $this->click($base."grid_ctl3_RadioButton");
- $this->pause(800);
- $this->assertText($base."Result", "You have selected Radio Button #3");
-
- $this->click($base."grid_ctl4_RadioButton");
- $this->pause(800);
- $this->assertText($base."Result", "You have selected Radio Button #4");
- }
-
-}
+<?php
+class Ticket708TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket708');
+ $this->assertTitle("Verifying Ticket 708");
+
+ $this->click($base."grid_ctl1_RadioButton");
+ $this->pause(800);
+ $this->assertText($base."Result", "You have selected Radio Button #1");
+
+ $this->click($base."grid_ctl2_RadioButton");
+ $this->pause(800);
+ $this->assertText($base."Result", "You have selected Radio Button #2");
+
+ $this->click($base."grid_ctl3_RadioButton");
+ $this->pause(800);
+ $this->assertText($base."Result", "You have selected Radio Button #3");
+
+ $this->click($base."grid_ctl4_RadioButton");
+ $this->pause(800);
+ $this->assertText($base."Result", "You have selected Radio Button #4");
+ }
+
+}
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket72TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket72TestCase.php
index 6d864899..346b08e3 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket72TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket72TestCase.php
@@ -1,16 +1,16 @@
-<?php
-
-class Ticket72TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Ticket72');
- $this->type("ctl0\$Content\$K1", "abc");
- $this->type("ctl0\$Content\$K2", "efg");
- $this->clickAndWait("//input[@type='submit' and @value='Send']", "");
- $this->verifyTextPresent("efg", "");
- $this->verifyTextNotPresent("abcefg", "");
- }
-}
-
+<?php
+
+class Ticket72TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket72');
+ $this->type("ctl0\$Content\$K1", "abc");
+ $this->type("ctl0\$Content\$K2", "efg");
+ $this->clickAndWait("//input[@type='submit' and @value='Send']", "");
+ $this->verifyTextPresent("efg", "");
+ $this->verifyTextNotPresent("abcefg", "");
+ }
+}
+
?> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket93TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket93TestCase.php
index 6a286ffe..8d11f98b 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket93TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket93TestCase.php
@@ -1,16 +1,16 @@
-<?php
-/*
- * Created on 13/04/2006
- *
- */
-
-class Ticket93TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('tickets/index.php?page=Ticket93');
- $this->verifyTextPresent("ValidationGroups without any inputs with grouping");
- }
-
-}
-?>
+<?php
+/*
+ * Created on 13/04/2006
+ *
+ */
+
+class Ticket93TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket93');
+ $this->verifyTextPresent("ValidationGroups without any inputs with grouping");
+ }
+
+}
+?>