summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
authortof <>2008-04-08 14:48:48 +0000
committertof <>2008-04-08 14:48:48 +0000
commit24f10e736df7705dbbff76d2f3345eaba369f432 (patch)
treedd76ba60da719d71aa2a80340fc0ad9961540d5a /tests/FunctionalTests
parentb43c8b4c9f3973eb5482298ed8283e33c1f426e1 (diff)
Fixed #595
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket595.page6
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket595TestCase.php4
2 files changed, 7 insertions, 3 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket595.page b/tests/FunctionalTests/tickets/protected/pages/Ticket595.page
index 11a926fa..33c45c8e 100644
--- a/tests/FunctionalTests/tickets/protected/pages/Ticket595.page
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket595.page
@@ -1,5 +1,9 @@
<com:TContent ID="Content">
-
+<style type="text/css">
+ .errorclassA, .errorclassB {
+ background-color:pink;
+ }
+</style>
<com:TTextBox ID="A" />
<com:TRequiredFieldValidator ControlToValidate="A" Text="Required!" ControlCssClass="errorclassA" ValidationGroup="A"/>
<com:TEmailAddressValidator ControlToValidate="A" Text="No Email!" ControlCssClass="errorclassA" ValidationGroup="A"/>
diff --git a/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php
index df462c8d..e2487f25 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php
@@ -15,7 +15,7 @@ class Ticket595TestCase extends SeleniumTestCase
$this->click($base.'ctl2');
$this->assertAttribute($base.'A@class','errorclassA');
- $this->type($base.'A', 'test@example.com');
+ $this->type($base.'A', 'test@pradosoft.com');
$this->click($base.'ctl2');
$this->pause(800);
$this->assertAttribute($base.'A@class','');
@@ -30,7 +30,7 @@ class Ticket595TestCase extends SeleniumTestCase
$this->pause(800);
$this->assertAttribute($base.'B@class','errorclassB');
- $this->type($base.'B', 'test@example.com');
+ $this->type($base.'B', 'test@pradosoft.com');
$this->click($base.'ctl5');
$this->pause(800);
$this->assertAttribute($base.'B@class','');