summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/framework/Demos/testControls.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/framework/Demos/testControls.php')
-rw-r--r--tests/FunctionalTests/framework/Demos/testControls.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/FunctionalTests/framework/Demos/testControls.php b/tests/FunctionalTests/framework/Demos/testControls.php
new file mode 100644
index 00000000..c55f3618
--- /dev/null
+++ b/tests/FunctionalTests/framework/Demos/testControls.php
@@ -0,0 +1,16 @@
+<?php
+
+class testControls extends SeleniumTestCase
+{
+ function setup()
+ {
+ $this->open('../../demos/controls/index.php');
+ }
+
+ function testIndexPage()
+ {
+ $this->assertTextPresent("Welcome! Guest");
+ $this->clickAndWait('ctl0$header$ctl15');
+ $this->assertTextPresent("Login");
+ }
+} \ No newline at end of file