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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FunctionalTests/framework/Demos/testControls.php b/tests/FunctionalTests/framework/Demos/testControls.php
index c55f3618..49f8e99e 100644
--- a/tests/FunctionalTests/framework/Demos/testControls.php
+++ b/tests/FunctionalTests/framework/Demos/testControls.php
@@ -7,10 +7,10 @@ class testControls extends SeleniumTestCase
$this->open('../../demos/controls/index.php');
}
- function testIndexPage()
+ function testControlSamples()
{
$this->assertTextPresent("Welcome! Guest");
- $this->clickAndWait('ctl0$header$ctl15');
+ $this->clickAndWait('//input[@value="Toggle Button"]');
$this->assertTextPresent("Login");
}
} \ No newline at end of file