summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/framework/Demos
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/framework/Demos')
-rw-r--r--tests/FunctionalTests/framework/Demos/testControls0
-rw-r--r--tests/FunctionalTests/framework/Demos/testControls.php16
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/FunctionalTests/framework/Demos/testControls b/tests/FunctionalTests/framework/Demos/testControls
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/FunctionalTests/framework/Demos/testControls
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