summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
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','');