summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page4
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php1
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page
index c68be7ca..5d7f451b 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page
@@ -1,7 +1,9 @@
<com:THead />
<com:TForm>
-<com:TActiveButton ID="button1" Text="Click Me!" OnCallback="button1_oncallback" />
+<com:TActiveButton ID="button1"
+ ClientSide.RequestTimeOut="3000"
+ Text="Click Me!" OnCallback="button1_oncallback" />
<com:TActiveLabel ID="label1" />
<com:TActiveRatingList RepeatColumns="2" RepeatDirection="Vertical">
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php
index 3291189c..abb6c8c8 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php
@@ -4,6 +4,7 @@ class PageStateTest extends TPage
{
function button1_oncallback($sender, $param)
{
+ sleep(rand(0,5));
$this->label1->Text .= " button1 clicked ";
}
}