summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php')
-rwxr-xr-xtests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php b/tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php
index 3fbf1e5e..1fc3073a 100755
--- a/tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php
+++ b/tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php
@@ -6,19 +6,19 @@ class AutoCompleteTestCase extends PradoGenericSelenium2Test
{
$base='ctl0_Content_';
$this->url("active-controls/index.php?page=AutoCompleteTest");
- $this->assertContains("TAutoComplete Test", $this->source());
+ $this->assertSourceContains("TAutoComplete Test");
$this->assertText("{$base}label1", "Label 1");
$this->byId("{$base}textbox3")->click();
$this->keys('a');
$this->pause(800);
- $this->assertContains('Andorra', $this->source());
+ $this->assertSourceContains('Andorra');
$this->assertText("{$base}label1", "suggestion for a");
$this->keys('u');
$this->pause(800);
- $this->assertContains('Australia', $this->source());
+ $this->assertSourceContains('Australia');
$this->assertText("{$base}label1", "suggestion for au");
$this->byCssSelector("#{$base}textbox3_result ul li")->click();